wok diff privoxy/receipt @ rev 6549

Up: physfs, physfs-dev to 2.0.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Oct 07 12:25:24 2010 +0000 (2010-10-07)
parents 3516ecf32350
children e6ebd77ac2ff
line diff
     1.1 --- a/privoxy/receipt	Wed Jul 21 16:00:54 2010 +0200
     1.2 +++ b/privoxy/receipt	Thu Oct 07 12:25:24 2010 +0000
     1.3 @@ -50,23 +50,10 @@
     1.4  
     1.5  post_install()
     1.6  {
     1.7 -	# adduser privoxy if needed
     1.8 -	if ! grep -q privoxy $1/etc/passwd; then
     1.9 -		echo -n "Adding user privoxy..."
    1.10 -		chroot $1/ adduser privoxy -s /bin/false -H -D -S
    1.11 -		status
    1.12 -	fi
    1.13 -	
    1.14  	# And change file permissions
    1.15  	echo -n "Changing file permissions..."
    1.16 -	chown -R root.privoxy /etc/privoxy
    1.17 -	chown -R root.root /etc/privoxy/templates
    1.18 -	chown -R root.privoxy /var/log/privoxy
    1.19 +	chown -R root.nogroup $1/etc/privoxy
    1.20 +	chown -R root.root $1/etc/privoxy/templates
    1.21 +	chown -R root.nogroup $1/var/log/privoxy
    1.22  	status
    1.23  }
    1.24 -
    1.25 -# Del user privoxy when pkg is removed.
    1.26 -post_remove()
    1.27 -{
    1.28 -	deluser privoxy
    1.29 -}