wok diff awstats/receipt @ rev 18667
Change messaging in {pre|post}_{install|remove}(): wget and a* packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 04 16:32:53 2015 +0200 (2015-12-04) |
parents | f4c22f009037 |
children | 1067bb7f1e24 |
line diff
1.1 --- a/awstats/receipt Sat Sep 07 18:25:02 2013 +0000 1.2 +++ b/awstats/receipt Fri Dec 04 16:32:53 2015 +0200 1.3 @@ -61,7 +61,6 @@ 1.4 1.5 post_install() 1.6 { 1.7 - echo "Processing post-install commands..." 1.8 # Set lighttpd or apache config 1.9 if [ -f $1/etc/apache/httpd.conf ]; then 1.10 if [ ! -f $1/etc/apache/conf.d/awstats.conf ]; then 1.11 @@ -87,7 +86,8 @@ 1.12 /etc/init.d/lighttpd restart 1.13 fi 1.14 fi 1.15 - cat <<EOT 1.16 + [ -z "$quiet" ] && cat <<EOT 1.17 + 1.18 You should add in your crontab something like; 1.19 1.20 0 0 * * * /usr/share/awstats/extras/update 1.21 @@ -99,11 +99,11 @@ 1.22 echo "Remove orphan dirctories." 1.23 [ -d /usr/share/awstats ] && rm -rf /usr/share/awstats 1.24 1.25 - # 1.26 + # FIXME 1.27 echo "All database and configuratoin files will be removed" 1.28 echo -n "Please confirm removing (y/N) : "; read answer 1.29 1.30 - case $answer in 1.31 + case $answer in 1.32 y|Y) 1.33 rm -rf /var/lib/awstats 1.34 rm -rf /etc/awstats