summaryrefslogtreecommitdiffstats
path: root/abs/core/perl/perl.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/perl/perl.install')
-rw-r--r--abs/core/perl/perl.install50
1 files changed, 7 insertions, 43 deletions
diff --git a/abs/core/perl/perl.install b/abs/core/perl/perl.install
index f0ff3fb..6a9fc1c 100644
--- a/abs/core/perl/perl.install
+++ b/abs/core/perl/perl.install
@@ -5,50 +5,14 @@ post_install() {
[ -h usr/lib/perl5/site_perl/$ver ] && rm usr/lib/perl5/site_perl/$ver
[ -h usr/bin/perl$ver ] && rm usr/bin/perl$ver
done
-
- echo
- echo " This version of perl follows the new perl directory hierarchy (see"
- echo " http://wiki.archlinux.org/index.php/Perl_Policy)."
- echo
- echo " - The perl package and its modules install in the core_perl directories"
- echo " - Perl modules provided by Arch Linux install in vendor_perl directories"
- echo " - CPAN/CPANPLUS installs should be placed in site_perl directories"
- echo " - Older modules in the 'current' directory should still work"
- echo " - Programs with embedded perl interpreters need to be rebuilt"
- echo
- echo " Users of the CPAN or CPANPLUS shells should modify the configuration"
- echo " to use the site_perl directories. Under the CPAN shell use:"
- echo " o conf makepl_arg INSTALLDIRS=site"
- echo " o conf mbuildpl_arg installdirs=site"
- echo " Under the CPANPLUS shell:"
- echo " s conf buildflags installdirs=site"
- echo " s conf makemakerflags INSTALLDIRS=site"
- echo " Then save the configuration."
- echo
- echo " The following official packages can be removed since the modules are"
- echo " now included in the standard perl library:"
- echo " perl-archive-tar perl-compress-raw-zlib perl-compress-zlib"
- echo " perl-extutils-cbuilder perl-io-compress-base perl-io-compress-zlib"
- echo " perl-io-zlib perl-module-pluggable perl-pod-escapes perl-pod-simple"
- echo " perl-module-build perl-version"
- echo
- echo " These community packages are also included in the standard perl library:"
- echo " perl-archive-extract perl-cpanplus perl-digest-sha perl-file-fetch"
- echo " perl-extutils-parsexs perl-ipc-cmd perl-locale-maketext-simple"
- echo " perl-log-message perl-log-message-simple perl-module-corelist"
- echo " perl-module-load perl-module-load-conditional perl-module-loaded"
- echo " perl-module-pluggable perl-object-accessor perl-params-check"
- echo " perl-term-ui perl-time-piece"
- echo
+ return 0
}
-# arg 1: the new package version
-# arg 2: the old package version
post_upgrade() {
- post_install
-}
+ echo '- The directories /usr/lib/perl5/current, /usr/lib/perl5/site_perl/current,'
+ echo ' /usr/lib/perl5/site_perl/5.10.1, and /usr/share/perl5/site_perl/5.10.1'
+ echo ' will be removed from @INC in a future release.'
-op=$1
-shift
-
-$op $*
+ echo '- The directory /usr/bin/perlbin/site will not be added to $PATH in a'
+ echo ' future release.'
+}