wok-stable diff bzip2/receipt @ rev 4411
Up: pidgin-facebookchat (1.61)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Oct 20 21:14:05 2009 +0000 (2009-10-20) |
parents | f9e78593eb58 |
children | 2e0531fcc423 |
line diff
1.1 --- a/bzip2/receipt Thu Jun 25 10:49:46 2009 +0000 1.2 +++ b/bzip2/receipt Tue Oct 20 21:14:05 2009 +0000 1.3 @@ -31,12 +31,21 @@ 1.4 ln -s bzip2 bzcat 1.5 } 1.6 1.7 -# Pre install commands for Tazpkg. 1.8 -# Force remove of an eventual bzcat link to Busybox. 1.9 +# Remove Busybox symlinks before installing 1.10 pre_install() 1.11 { 1.12 local root 1.13 root=$1 1.14 echo "Processing post-install commands..." 1.15 + rm -f $root/usr/bin/bunzip2 1.16 rm -f $root/usr/bin/bzcat 1.17 +# rm -f $root/usr/bin/bzip2 1.18 } 1.19 + 1.20 +# Restore Busybox symlinks upon removal 1.21 +post_remove() 1.22 +{ 1.23 + ln -s /bin/busybox /usr/bin/bunzip2 1.24 + ln -s /bin/busybox /usr/bin/bzcat 1.25 +# ln -s /bin/busybox /usr/bin/bzip2 1.26 +}