wok-stable diff squid/receipt @ rev 2532
nss_ldap: fix post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 19 07:37:46 2009 +0000 (2009-03-19) |
parents | 8c4a70e18847 |
children | 61303285c4fe |
line diff
1.1 --- a/squid/receipt Fri Mar 13 09:14:24 2009 +0000 1.2 +++ b/squid/receipt Thu Mar 19 07:37:46 2009 +0000 1.3 @@ -80,7 +80,9 @@ 1.4 # Pre and post install commands for Tazpkg. 1.5 post_install() 1.6 { 1.7 - chown nobody.nogroup /var/cache/squid /var/log/squid 1.8 + local root 1.9 + root=$1 1.10 + chown nobody.nogroup $root/var/cache/squid $root/var/log/squid 1.11 cat <<EOF 1.12 ---- 1.13 To start $PACKAGE server you can run :