wok-6.x diff distcc/receipt @ rev 18893

Update apache post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 13 10:39:15 2016 +0100 (2016-02-13)
parents 0d8a1a3edc72
children 970c5ec9a60a
line diff
     1.1 --- a/distcc/receipt	Sun May 18 20:24:07 2014 +0000
     1.2 +++ b/distcc/receipt	Sat Feb 13 10:39:15 2016 +0100
     1.3 @@ -46,15 +46,15 @@
     1.4  
     1.5  post_install()
     1.6  {
     1.7 -	if ! grep -q nagios $1/etc/passwd; then
     1.8 +	if ! grep -q nagios "$1/etc/passwd"; then
     1.9  		echo -n "Adding user/group nagios..."
    1.10 -		chroot $1/ addgroup -S distcc
    1.11 -		chroot $1/ adduser -S -D -H -G distcc distcc
    1.12 +		chroot "$1/" addgroup -S distcc
    1.13 +		chroot "$1/" adduser -S -D -H -G distcc distcc
    1.14  		status
    1.15  	fi
    1.16  	
    1.17  	# Fix perms for files and directories
    1.18 -	chroot $1/ chown -R distcc.distcc /var/log/distccd
    1.19 +	chroot "$1/" chown -R distcc.distcc /var/log/distccd
    1.20  	  
    1.21  	cat <<EOF
    1.22  ----