wok rev 7594

Removed pre_install and post_remove functions in xz. Not needed with xz out of busybox.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Dec 10 14:19:24 2010 +0000 (2010-12-10)
parents 7e5ac573bf29
children ac532f610797
files xz/receipt
line diff
     1.1 --- a/xz/receipt	Fri Dec 10 19:35:10 2010 +0100
     1.2 +++ b/xz/receipt	Fri Dec 10 14:19:24 2010 +0000
     1.3 @@ -31,21 +31,3 @@
     1.4  	cp -a $_pkg/usr/bin/xz $fs/usr/bin
     1.5  	cp stuff/lzma $fs/usr/bin
     1.6  }
     1.7 -
     1.8 -# Pre and post install commands for Tazpkg.
     1.9 -# We must remove all Busybox symlink before installing.
    1.10 -#
    1.11 -pre_install()
    1.12 -{
    1.13 -	local root
    1.14 -	root=$1
    1.15 -	echo "Processing pre-install commands..."
    1.16 -	echo -n "Removing all Busybox replaced utils... "
    1.17 -	rm -f $root/usr/bin/xz
    1.18 -	status
    1.19 -}
    1.20 -
    1.21 -post_remove()
    1.22 -{
    1.23 -	ln -s /bin/busybox /usr/bin/xz
    1.24 -}