wok-6.x diff gzip/receipt @ rev 18765

Fix grep post_remove()
author Lucas Levrel <llevrel@yahoo.fr>
date Tue Dec 29 23:04:30 2015 +0100 (2015-12-29)
parents e715990c5f63
children 35a23f513b71
line diff
     1.1 --- a/gzip/receipt	Mon Oct 05 18:50:36 2015 +0000
     1.2 +++ b/gzip/receipt	Tue Dec 29 23:04:30 2015 +0100
     1.3 @@ -38,14 +38,14 @@
     1.4  pre_install()
     1.5  {
     1.6  	echo -n "Removing Busybox gzip and gunzip utilities... "
     1.7 -	rm -f $1/bin/gzip $1/bin/gunzip
     1.8 +	rm -f "$1/bin/gzip" "$1/bin/gunzip"
     1.9  	status
    1.10  }
    1.11  
    1.12  post_remove()
    1.13  {
    1.14  	echo -n "Restoring Busybox gzip and gunzip utilities... "
    1.15 -	ln -s busybox $1/bin/gzip
    1.16 -	ln -s busybox $1/bin/gunzip
    1.17 +	ln -s busybox "$1/bin/gzip"
    1.18 +	ln -s busybox "$1/bin/gunzip"
    1.19  	status
    1.20  }