[Pkg-awstats-commits] [SCM] awstats Debian packaging branch, master, updated. debian/6.9.5.dfsg-2-5-g7774d56

Sergey B Kirpichev skirpichev at gmail.com
Tue May 18 14:44:15 UTC 2010


The following commit has been merged in the master branch:
commit f9dbff4db88c9974f361b64de0067e8fc641282b
Author: Sergey B Kirpichev <skirpichev at gmail.com>
Date:   Tue May 18 18:15:15 2010 +0400

    Add option to disable nightly generation of static html reports (Closes: #580692, thanks to Ken Neighbors)

diff --git a/debian/buildstatic.sh b/debian/buildstatic.sh
index a9c5639..63293da 100755
--- a/debian/buildstatic.sh
+++ b/debian/buildstatic.sh
@@ -18,6 +18,8 @@ trap 'rm -f $ERRFILE' INT QUIT TERM EXIT
 
 [ -r "$DEFAULT" ] && . "$DEFAULT"
 
+[ "$AWSTATS_ENABLE_BUILDSTATICPAGES" == "yes" ] || exit 0
+
 cd /etc/awstats
 
 for c in awstats \
diff --git a/debian/default/awstats b/debian/default/awstats
index 3785ea3..3e17e91 100644
--- a/debian/default/awstats
+++ b/debian/default/awstats
@@ -1,5 +1,9 @@
 # AWStats configuration options
 
+# This variable controls whether to create static html reports every
+# night in /var/cache/awstats/.  Set to "yes" or "no".
+AWSTATS_ENABLE_BUILDSTATICPAGES="yes"
+
 # This variable control the language of all static html reports.  Set
 # one to appropriate two-letter language code (default to en).
 #AWSTATS_LANG=ru

-- 
awstats Debian packaging



More information about the Pkg-awstats-commits mailing list