wok diff privoxy/receipt @ rev 20319

Up tazlito (501)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 20 13:28:18 2018 +0200 (2018-05-20)
parents 80f0897ed3d3
children 72d34faa7fd6
line diff
     1.1 --- a/privoxy/receipt	Thu Jun 08 21:57:08 2017 +0200
     1.2 +++ b/privoxy/receipt	Sun May 20 13:28:18 2018 +0200
     1.3 @@ -54,18 +54,21 @@
     1.4  {
     1.5  	# adduser privoxy if needed
     1.6  	if ! grep -q privoxy "$1/etc/passwd"; then
     1.7 +		echo
     1.8  		echo -n "Adding user privoxy..."
     1.9  		chroot "$1/" adduser -s /bin/false -H -D -u 42 privoxy
    1.10  		status
    1.11  	fi
    1.12  
    1.13  	if ! grep -q privoxy "$1/etc/group"; then
    1.14 +		echo
    1.15  		echo -n "Adding group privoxy..."
    1.16  		chroot "$1/" addgroup -g 42 privoxy
    1.17  		status
    1.18  	fi
    1.19  
    1.20  	# and change file permissions
    1.21 +	echo
    1.22  	echo -n "Changing file permissions..."
    1.23  	chroot "$1/" chown -R privoxy.privoxy /etc/privoxy
    1.24  	chown -R root.root "$1/etc/privoxy/templates"