wok diff privoxy/receipt @ rev 21148

pulseaudio: add some config_files
author Richard Dunbar <mojo@slitaz.org>
date Thu Mar 28 17:43:17 2019 -0400 (2019-03-28)
parents 80f0897ed3d3
children 72d34faa7fd6
line diff
     1.1 --- a/privoxy/receipt	Thu Jun 08 21:57:08 2017 +0200
     1.2 +++ b/privoxy/receipt	Thu Mar 28 17:43:17 2019 -0400
     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"