wok-current diff bzip2/receipt @ rev 4303

Up avidemux (2.5.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 28 10:21:40 2009 +0200 (2009-09-28)
parents f9e78593eb58
children 2e0531fcc423
line diff
     1.1 --- a/bzip2/receipt	Thu Jun 25 10:49:46 2009 +0000
     1.2 +++ b/bzip2/receipt	Mon Sep 28 10:21:40 2009 +0200
     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 +}