wok-6.x diff boinc/receipt @ rev 20131
wpa_supplicant: security fix for KRACK
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sat Oct 28 02:35:58 2017 -0400 (2017-10-28) |
parents | affba9aecc73 |
children | 8e17dd3d81ee |
line diff
1.1 --- a/boinc/receipt Mon Oct 26 02:54:52 2015 +0200 1.2 +++ b/boinc/receipt Sat Oct 28 02:35:58 2017 -0400 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"