diff options
author | root <root@rshg054.dnsready.net> | 2011-12-30 23:14:51 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-12-30 23:14:51 +0000 |
commit | 5d738f85840804ee493d267784d9cce5dc52f535 (patch) | |
tree | 646f79576fee9f326fa833f7ca480d2355056556 /testing/perl/perl.install | |
parent | 8a823402bd45dc875237a20f174ecbe64e1bae4d (diff) |
Fri Dec 30 23:14:51 UTC 2011
Diffstat (limited to 'testing/perl/perl.install')
-rw-r--r-- | testing/perl/perl.install | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/perl/perl.install b/testing/perl/perl.install new file mode 100644 index 000000000..a355c5bbe --- /dev/null +++ b/testing/perl/perl.install @@ -0,0 +1,10 @@ +# arg 1: the new package version +post_install() { + for ver in 5.8.{0,1,2,3,4,5,6,7,8}; do + [ -h usr/lib/perl5/$ver ] && rm usr/lib/perl5/$ver + [ -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 + return 0 +} + |