wok-next diff bzip2/receipt @ rev 5223
Add liblinebreak
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Wed Apr 07 12:52:46 2010 +0000 (2010-04-07) |
parents | f9e78593eb58 |
children | 2e0531fcc423 |
line diff
1.1 --- a/bzip2/receipt Thu Jun 25 10:49:46 2009 +0000 1.2 +++ b/bzip2/receipt Wed Apr 07 12:52:46 2010 +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 +}