wok-next diff distcc/receipt @ rev 20043
gdb: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 22 21:23:15 2017 +0200 (2017-10-22) |
parents | 0d8a1a3edc72 |
children | 9dd8e9ef3589 |
line diff
1.1 --- a/distcc/receipt Sun May 18 20:24:07 2014 +0000 1.2 +++ b/distcc/receipt Sun Oct 22 21:23:15 2017 +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 ----