wok diff cookutils/receipt @ rev 18746

marble: one desktop entry only
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 26 11:26:22 2015 +0100 (2015-12-26)
parents 02dfb02ecb56
children ac1a50fb89ae
line diff
     1.1 --- a/cookutils/receipt	Thu Dec 17 15:58:11 2015 +0200
     1.2 +++ b/cookutils/receipt	Sat Dec 26 11:26:22 2015 +0100
     1.3 @@ -36,11 +36,11 @@
     1.4  # Pre and post install commands for Tazpkg.
     1.5  post_install()
     1.6  {
     1.7 -	case "$(cat $1/etc/hostname 2> /dev/null)" in
     1.8 +	case "$(cat "$1/etc/hostname" 2> /dev/null)" in
     1.9  	tank*)
    1.10 -		if ! chroot $1/ tazpkg list | grep -q aufs ; then
    1.11 -			tazpkg get-install aufs --root=$1/
    1.12 -			sed -i 's/LOAD_MODULES="/&aufs /' $1/etc/rcS.conf
    1.13 +		if ! chroot "$1/" tazpkg list | grep -q aufs ; then
    1.14 +			tazpkg get-install aufs --root="$1/"
    1.15 +			sed -i 's/LOAD_MODULES="/&aufs /' "$1/etc/rcS.conf"
    1.16  		fi ;;
    1.17  	esac
    1.18  }