[Pkg-awstats-commits] [SCM] awstats Debian packaging branch, master, updated. debian/7.0_dfsg-6-5-g0d3e710

Sergey B Kirpichev skirpichev at gmail.com
Fri Jun 1 15:23:55 UTC 2012


The following commit has been merged in the master branch:
commit 0d3e710e97ca8c64b4850cdc8b3370b7ec76bf63
Author: Sergey B Kirpichev <skirpichev at gmail.com>
Date:   Fri Jun 1 19:22:34 2012 +0400

    Create an index.$lang.html file in buildstatic.sh (Closes: #673317, thanks to Antoine Beaupré)

diff --git a/debian/buildstatic.sh b/debian/buildstatic.sh
index 200f02b..5f68d67 100755
--- a/debian/buildstatic.sh
+++ b/debian/buildstatic.sh
@@ -43,5 +43,8 @@ do
 	-dir=/var/cache/awstats/$c/$YEAR/$MONTH/ >$ERRFILE 2>&1
   then
     cat $ERRFILE >&2 # an error occurred
+  else
+    ln -fs /var/cache/awstats/$c/$YEAR/$MONTH/awstats.$c.$AWSTATS_LANG.html \
+        /var/cache/awstats/$c/$YEAR/$MONTH/index.$AWSTATS_LANG.html
   fi
 done

-- 
awstats Debian packaging



More information about the Pkg-awstats-commits mailing list