wok diff gawk/receipt @ rev 4454

loram*: /etc/init.d/rcS needs find & xargs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 08 12:55:54 2009 +0100 (2009-11-08)
parents 17a39e4461e4
children f903372d213b
line diff
     1.1 --- a/gawk/receipt	Wed Feb 13 14:06:08 2008 +0100
     1.2 +++ b/gawk/receipt	Sun Nov 08 12:55:54 2009 +0100
     1.3 @@ -36,7 +36,8 @@
     1.4  	strip -s $fs/usr/bin/*
     1.5  }
     1.6  
     1.7 -# Post install to avoid erasing Busybox link
     1.8 +# Pre and post install commands for Tazpkg.
     1.9 +# We must remove all Busybox symlink before installing.
    1.10  pre_install()
    1.11  {
    1.12  	local root
    1.13 @@ -44,3 +45,7 @@
    1.14  	rm -f $root/usr/bin/awk
    1.15  }
    1.16  
    1.17 +post_remove()
    1.18 +{
    1.19 +	ln -s /bin/busybox /usr/bin/awk
    1.20 +}