[Pkg-awstats-commits] [SCM] awstats Debian packaging branch, master, updated. debian/6.9.5.dfsg-3-6-g702ac9f
Sergey B Kirpichev
skirpichev at gmail.com
Sat Jun 12 13:43:51 UTC 2010
The following commit has been merged in the master branch:
commit 702ac9f6c7e1399d6f1feaa4e7d1c442c60c1e2f
Author: Sergey B Kirpichev <skirpichev at gmail.com>
Date: Sat Jun 12 17:43:24 2010 +0400
Change order of configs parsing in update.sh and buildstatic.sh. Closes: bug#580699.
diff --git a/debian/buildstatic.sh b/debian/buildstatic.sh
index 14154a5..3e50a4f 100755
--- a/debian/buildstatic.sh
+++ b/debian/buildstatic.sh
@@ -28,9 +28,8 @@ AWSTATS_LANG="en"
cd /etc/awstats
-for c in awstats \
- `/bin/ls -1 awstats.*.conf 2>/dev/null | \
- /bin/sed 's/^awstats\.\(.*\)\.conf/\1/'`
+for c in `/bin/ls -1 awstats.*.conf 2>/dev/null | \
+ /bin/sed 's/^awstats\.\(.*\)\.conf/\1/'` awstats
do
mkdir -p /var/cache/awstats/$c/$YEAR/$MONTH/
diff --git a/debian/update.sh b/debian/update.sh
index d1f04e7..1fd6e78 100755
--- a/debian/update.sh
+++ b/debian/update.sh
@@ -21,9 +21,8 @@ AWSTATS_NICE=10
cd /etc/awstats
-for c in awstats \
- `/bin/ls -1 awstats.*.conf 2>/dev/null | \
- /bin/sed 's/^awstats\.\(.*\)\.conf/\1/'`
+for c in `/bin/ls -1 awstats.*.conf 2>/dev/null | \
+ /bin/sed 's/^awstats\.\(.*\)\.conf/\1/'` awstats
do
if ! nice -n $AWSTATS_NICE $AWSTATS \
-config=$c \
--
awstats Debian packaging
More information about the Pkg-awstats-commits
mailing list