wok-4.x rev 3923

Update: wget (BusyBox add/remove compatibility)
author Matthew Sheets <rcx@zoominternet.net>
date Tue Aug 18 20:11:38 2009 +0000 (2009-08-18)
parents 044c8848261e
children 80e708ceb99a
files wget/receipt
line diff
     1.1 --- a/wget/receipt	Tue Aug 18 23:35:25 2009 +0200
     1.2 +++ b/wget/receipt	Tue Aug 18 20:11:38 2009 +0000
     1.3 @@ -38,4 +38,20 @@
     1.4  "
     1.5  }
     1.6  
     1.7 +# Pre and post install commands for Tazpkg.
     1.8 +# We must remove all Busybox symlink before installing.
     1.9 +#
    1.10 +pre_install()
    1.11 +{
    1.12 +	local root
    1.13 +	root=$1
    1.14 +	echo "Processing pre-install commands..."
    1.15 +	echo -n "Removing all Busybox replaced utils... "
    1.16 +	rm -f $root/usr/bin/wget
    1.17 +	status
    1.18 +}
    1.19  
    1.20 +post_remove()
    1.21 +{
    1.22 +	ln -s /bin/busybox /usr/bin/wget
    1.23 +}