FS#16436 - [perl] scriptlet returns error
Attached to Project:
Arch Linux
Opened by Xavier (shining) - Friday, 02 October 2009, 18:17 GMT
Last edited by Paul Mattal (paul) - Saturday, 03 October 2009, 20:38 GMT
Opened by Xavier (shining) - Friday, 02 October 2009, 18:17 GMT
Last edited by Paul Mattal (paul) - Saturday, 03 October 2009, 20:38 GMT
|
Details
# 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 } Maybe add return 0 after the done ? Steps to reproduce: pacman -Rd perl && pacman -S perl |
This task depends upon
Closed by Paul Mattal (paul)
Saturday, 03 October 2009, 20:38 GMT
Reason for closing: Fixed
Additional comments about closing: Implemented the proposed fix in perl-5.10.1-4 in testing for both architectures.
Saturday, 03 October 2009, 20:38 GMT
Reason for closing: Fixed
Additional comments about closing: Implemented the proposed fix in perl-5.10.1-4 in testing for both architectures.