Changeset 1110


Ignore:
Timestamp:
Apr 29, 2009, 3:37:20 PM (13 years ago)
Author:
quentin
Message:
Ask RPM about perl modules, not just package names
File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/doc/install-howto.sh

    r1109 r1110  
    127127# TO DO THIS:
    128128# On another server, run:
    129 # perldoc -u perllocal | grep head2 | cut -f 3 -d '<' | cut -f 1 -d '|' | sort -u | perl -ne 'chomp($pkg = $_); $pkg =~ s/::/-/g; print if system("rpm -q perl-$pkg >/dev/null 2>/dev/null")' > /mit/scripts/config/perl-packages.txt
     129# perldoc -u perllocal | grep head2 | cut -f 3 -d '<' | cut -f 1 -d '|' | sort -u | perl -ne 'chomp; print "$_\n" if system("rpm -q --whatprovides \"perl($_)\" >/dev/null 2>/dev/null")' > /mit/scripts/config/perl-packages.txt
    130130# Then on the server you're installing,
    131131    perl -MCPAN -e"$(echo notest install $(cat /mit/scripts/config/perl-packages.txt))"
Note: See TracChangeset for help on using the changeset viewer.