wok diff slitaz-eeepc/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents eb8067417980
children
line diff
     1.1 --- a/slitaz-eeepc/receipt	Sat Nov 30 10:06:29 2013 +0000
     1.2 +++ b/slitaz-eeepc/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.3 @@ -35,11 +35,11 @@
     1.4  
     1.5  pre_install()
     1.6  {
     1.7 -	. $1/etc/rcS.conf
     1.8 -	sed -i s/'RUN_SCRIPTS="'/'RUN_SCRIPTS="eeepc.sh '/ $1/etc/rcS.conf
     1.9 +	. "$1/etc/rcS.conf"
    1.10 +	sed -i s/'RUN_SCRIPTS="'/'RUN_SCRIPTS="eeepc.sh '/ "$1/etc/rcS.conf"
    1.11  	# Load module ac and battery
    1.12  	sed -i s/"LOAD_MODULES=\"$LOAD_MODULES\""/"LOAD_MODULES=\"$LOAD_MODULES ac battery\""/ \
    1.13 -		$1/etc/rcS.conf
    1.14 +		"$1/etc/rcS.conf"
    1.15  }
    1.16  
    1.17  pre_remove()