wok-next diff nail/receipt @ rev 20454

Choose between libpng16 and libpng12
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 17:32:31 2018 +0200 (2018-02-28)
parents 3765f181a6d5
children d43bf7aae921
line diff
     1.1 --- a/nail/receipt	Sat Nov 30 17:02:58 2013 +0000
     1.2 +++ b/nail/receipt	Wed Feb 28 17:32:31 2018 +0200
     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  }