wok diff nail/receipt @ rev 20572

Get xscavenger tarball from archive.org
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 13 13:26:13 2018 +0100 (2018-12-13)
parents 3765f181a6d5
children 02c70d036ea0
line diff
     1.1 --- a/nail/receipt	Sat Nov 30 17:02:58 2013 +0000
     1.2 +++ b/nail/receipt	Thu Dec 13 13:26:13 2018 +0100
     1.3 @@ -46,9 +46,9 @@
     1.4  # Check mailx
     1.5  post_install()
     1.6  {
     1.7 -	. $1/etc/init.d/rc.functions
     1.8 +	. "$1/etc/init.d/rc.functions"
     1.9  
    1.10 -	if [ -e $1/usr/bin/mailx ]; then
    1.11 +	if [ -e "$1/usr/bin/mailx" ]; then
    1.12  		echo ""
    1.13  		echo "/usr/bin/mailx exists"
    1.14  		echo -n "Do you want /usr/bin/nail for /usr/bin/mailx (y/N) ? : "
    1.15 @@ -56,8 +56,8 @@
    1.16  		if [ "$anser" == "y" ]; then
    1.17  			echo ""
    1.18  			echo -n "linking /usr/bin/mailx to /usr/bin/nail"
    1.19 -			rm $1/usr/bin/mailx
    1.20 -			ln -s /usr/bin/nail $1/usr/bin/mailx
    1.21 +			rm "$1/usr/bin/mailx"
    1.22 +			ln -s /usr/bin/nail "$1/usr/bin/mailx"
    1.23  			status
    1.24  		else
    1.25  			echo ""
    1.26 @@ -66,7 +66,7 @@
    1.27  		fi
    1.28  	else
    1.29  		echo -n "linking /usr/bin/mailx to /usr/bin/nail"
    1.30 -		ln -s /usr/bin/nail $1/usr/bin/mailx
    1.31 +		ln -s /usr/bin/nail "$1/usr/bin/mailx"
    1.32  		status
    1.33  	fi
    1.34  }