wok diff slitaz-configs/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 c761ba5755e1
children 60ed06eac8b9
line diff
     1.1 --- a/slitaz-configs/receipt	Tue Nov 17 16:50:26 2015 +0200
     1.2 +++ b/slitaz-configs/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.3 @@ -76,9 +76,9 @@
     1.4  			# By default slim provide a base theme and config file have both
     1.5  			# base and slitaz who will be choose randomly, so make sure we use
     1.6  			# only slitaz theme.
     1.7 -			if grep -q 'current_theme       slitaz,base' $1/etc/slim.conf; then
     1.8 +			if grep -q 'current_theme       slitaz,base' "$1/etc/slim.conf"; then
     1.9  				sed -i s/"current_theme .*"/"current_theme       slitaz"/ \
    1.10 -					$1/etc/slim.conf
    1.11 +					"$1/etc/slim.conf"
    1.12  			fi ;;
    1.13  	esac
    1.14  }