wok-6.x diff boinc/receipt @ rev 18872
Add unclutter
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 03 23:48:44 2016 +0200 (2016-02-03) |
parents | affba9aecc73 |
children | 8e17dd3d81ee |
line diff
1.1 --- a/boinc/receipt Mon Oct 26 02:54:52 2015 +0200 1.2 +++ b/boinc/receipt Wed Feb 03 23:48:44 2016 +0200 1.3 @@ -51,7 +51,7 @@ 1.4 { 1.5 echo 1.6 # Check if boinc user already exists 1.7 - if grep -q ^${BOINCUSER}: $1/etc/passwd; then 1.8 + if grep -q ^${BOINCUSER}: "$1/etc/passwd"; then 1.9 chroot "$1/" adduser -g "BOINC User" -h /var/lib/boinc -s /bin/bash -S -H -D boinc 1.10 else 1.11 # In case boinc was previously installed: 1.12 @@ -68,7 +68,7 @@ 1.13 read -t 30 answer 1.14 if [ "$answer" == "yes" ]; then 1.15 chroot "$1/" deluser boinc 1.16 - rm -r $1/var/lib/boinc 1.17 + rm -r "$1/var/lib/boinc" 1.18 else 1.19 echo "" 1.20 echo "Leaving user boinc and /var/lib/boinc"