wok-6.x diff boinc/receipt @ rev 19381

palemoon: change sqlite version
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Thu Aug 18 16:53:29 2016 +0200 (2016-08-18)
parents affba9aecc73
children 8e17dd3d81ee
line diff
     1.1 --- a/boinc/receipt	Mon Oct 26 02:54:52 2015 +0200
     1.2 +++ b/boinc/receipt	Thu Aug 18 16:53:29 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"