WHTPASSWD="$WDIR/.htpasswd"
WCONF="/etc/webalizer/webalizer.conf"
WCONFBAK=`basename $WCONF`
-oldreporttitle="Usage Statistics for"
+oldreporttitle="usage statistics for"
reporttitle="Statistika pristupa za"
fi
# Check for ReportTitle
- temp=`awk 'tolower($1) == "reporttitle" { for(i=2; i<NF; i++) printf("%s ", $i); print $(NF) }' $WCONF | tail -n 1`
+ temp=`awk 'tolower($1) == "reporttitle" { for(i=2; i<NF; i++) \
+ printf("%s ", tolower($i)); print tolower($(NF)) }' $WCONF | tail -n 1`
if [ "$temp" = "$oldreporttitle" ]; then
temp_re="^[[:space:]]*ReportTitle[[:space:]]*${oldreporttitle}$"