wok rev 1922
Apache: reconfigure web applications
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 23 09:58:09 2008 +0000 (2008-12-23) |
parents | 1ec955a912be |
children | d3bf4c35c370 |
files | apache/receipt |
line diff
1.1 --- a/apache/receipt Mon Dec 22 17:50:18 2008 +0000 1.2 +++ b/apache/receipt Tue Dec 23 09:58:09 2008 +0000 1.3 @@ -80,6 +80,13 @@ 1.4 1.5 1.6 EOT 1.7 + ( cd $1/$INSTALLED/ ; grep -l /etc/apache/conf.d/ */receipt ) | \ 1.8 + while read file; do 1.9 + pkg=$(dirname $file) 1.10 + [ "$pkg" = "$PACKAGE" ] && continue 1.11 + echo "Reconfiguring $pkg for $PACKAGE..." 1.12 + tazpkg reconfigure $pkg 1.13 + done 1.14 if [ -z "$1" ]; then 1.15 for i in lighttpd ; do 1.16 [ -f /etc/init.d/$i ] && /etc/init.d/$i stop