wok diff webalizer/receipt @ rev 18730
Quote root dir in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 20 15:13:45 2015 +0100 (2015-12-20) |
parents | 7896f0694ef6 |
children | ce4a63ee0b85 |
line diff
1.1 --- a/webalizer/receipt Sat Aug 10 21:12:16 2013 +0000 1.2 +++ b/webalizer/receipt Sun Dec 20 15:13:45 2015 +0100 1.3 @@ -44,8 +44,8 @@ 1.4 # Pre and post install commands for Tazpkg. 1.5 post_install() 1.6 { 1.7 - grep -q webalizer $1/etc/init.d/local.sh || \ 1.8 - cat >> $1/etc/init.d/local.sh <<EOT 1.9 + grep -q webalizer "$1/etc/init.d/local.sh" || \ 1.10 + cat >> "$1/etc/init.d/local.sh" <<EOT 1.11 [ -f /var/www/webalizer/index.html ] || /usr/bin/webalizer -o /var/www/webalizer /var/log/apache/access_log 1.12 EOT 1.13 if [ -z "$1" ]; then