wok-next diff privoxy/receipt @ rev 7960
Up: libmpdclient-dev to 2.4.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Jan 16 09:43:07 2011 +0000 (2011-01-16) |
parents | e6ebd77ac2ff |
children | 5e2ee3f01fad |
line diff
1.1 --- a/privoxy/receipt Sun Nov 14 14:17:18 2010 +0000 1.2 +++ b/privoxy/receipt Sun Jan 16 09:43:07 2011 +0000 1.3 @@ -45,7 +45,7 @@ 1.4 cp stuff/daemon-privoxy $fs/etc/init.d/privoxy 1.5 } 1.6 1.7 -pre_install() 1.8 +post_install() 1.9 { 1.10 # adduser privoxy if needed 1.11 if ! grep -q privoxy $1/etc/passwd; then 1.12 @@ -53,6 +53,14 @@ 1.13 chroot $1/ adduser privoxy -s /bin/false -H -D 1.14 status 1.15 fi 1.16 + 1.17 + # and change file permissions 1.18 + echo -n "Changing file permissions..." 1.19 + chown -R root.privoxy $1/etc/privoxy 1.20 + chown -R root.root $1/etc/privoxy/templates 1.21 + chown root.root $1/etc/privoxy 1.22 + chown root.privoxy $1/var/log/privoxy/logfile 1.23 + status 1.24 } 1.25 1.26 # Del user privoxy when pkg is removed.