wok diff distcc/receipt @ rev 19105

Add florence
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Wed May 04 21:51:37 2016 +0200 (2016-05-04)
parents 0d8a1a3edc72
children 970c5ec9a60a
line diff
     1.1 --- a/distcc/receipt	Sun May 18 20:24:07 2014 +0000
     1.2 +++ b/distcc/receipt	Wed May 04 21:51:37 2016 +0200
     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  ----