[Lunar-commits] r18874 - moonbase/trunk/perl/perl
Auke Kok
sofar at lunar-linux.org
Fri Feb 24 21:32:09 UTC 2006
Author: sofar
Date: 2006-02-24 21:32:05 +0000 (Fri, 24 Feb 2006)
New Revision: 18874
Modified:
moonbase/trunk/perl/perl/POST_INSTALL
Log:
Just assume perl[5] for now, instead of "perl?"
Modified: moonbase/trunk/perl/perl/POST_INSTALL
===================================================================
--- moonbase/trunk/perl/perl/POST_INSTALL 2006-02-24 21:24:00 UTC (rev 18873)
+++ moonbase/trunk/perl/perl/POST_INSTALL 2006-02-24 21:32:05 UTC (rev 18874)
@@ -7,10 +7,10 @@
OLD_PERL_VERSION=$(get_module_config OLD_PERL_VERSION)
if query "Do you want lunar to attempt to upgrade your perl modules?" y; then
# preserve CPAN config?
- if [ ! -f /usr/lib/perl?/$VERSION/CPAN/Config.pm -a -f /usr/lib/perl?/$OLD_PERL_VERSION/CPAN/Config.pm ] ; then
- cp /usr/lib/perl?/$OLD_PERL_VERSION/CPAN/Config.pm /usr/lib/perl?/$VERSION/CPAN/Config.pm
+ if [ ! -f /usr/lib/perl5/$VERSION/CPAN/Config.pm -a -f /usr/lib/perl5/$OLD_PERL_VERSION/CPAN/Config.pm ] ; then
+ cp /usr/lib/perl5/$OLD_PERL_VERSION/CPAN/Config.pm /usr/lib/perl5/$VERSION/CPAN/Config.pm
fi
- PERLMODS="$( lvu from /usr/lib/perl?/ | cut -d: -f1 | uniq | grep -v perl)"
+ PERLMODS="$( lvu from /usr/lib/perl5/ | cut -d: -f1 | uniq | grep -v perl)"
for PERLMOD in $(sort_by_dependency $PERLMODS); do
lin -c $PERLMOD || true
done
More information about the Lunar-commits
mailing list