wok-stable diff privoxy/receipt @ rev 6413

Up imagemagick (6.6.4-6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 25 17:22:56 2010 +0200 (2010-09-25)
parents 3516ecf32350
children e6ebd77ac2ff
line diff
     1.1 --- a/privoxy/receipt	Wed Jul 21 16:00:54 2010 +0200
     1.2 +++ b/privoxy/receipt	Sat Sep 25 17:22:56 2010 +0200
     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 -}