Modern awstats uses /usr/share/awstats/tools/update.sh instead, so there's no
reason to keep the unused script around.
+++ /dev/null
-#!/bin/bash
-set -e
-
-domains="olinda alex"
-
-if [ ! -x /usr/lib/cgi-bin/awstats.pl ]; then exit 1; fi
-cd /etc/awstats/
-
-for domain in $domains; do
- echo "Updating $domain..."
- /usr/lib/cgi-bin/awstats.pl -config=$domain -update
- echo "Building pages..."
- /var/lib/awstats/bin/awstats_buildstaticpages.pl -awstatsprog=/usr/lib/cgi-bin/awstats.pl -config=$domain -dir=output
- echo
- echo
- echo
-done
-echo "Done with awstats."