wok-current diff privoxy/receipt @ rev 6502
Up: python-tempita to 0.5dev
author | Julien Rabier <taziden@slitaz.org> |
---|---|
date | Fri Oct 01 20:54:24 2010 +0000 (2010-10-01) |
parents | 3516ecf32350 |
children | e6ebd77ac2ff |
line diff
1.1 --- a/privoxy/receipt Wed Jul 21 16:00:54 2010 +0200 1.2 +++ b/privoxy/receipt Fri Oct 01 20:54: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 -}