wok-stable diff squid/receipt @ rev 2904
Add: multitail (multiple files viewer)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed May 06 15:48:13 2009 +0200 (2009-05-06) |
parents | 8c4a70e18847 |
children | 61303285c4fe |
line diff
1.1 --- a/squid/receipt Fri Mar 13 09:14:24 2009 +0000 1.2 +++ b/squid/receipt Wed May 06 15:48:13 2009 +0200 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 :