projects
/
webalizer-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ispravak u debian/postinst (oldreporttitle).
[webalizer-cn.git]
/
debian
/
postinst
diff --git
a/debian/postinst
b/debian/postinst
index
79c7040
..
c4fca82
100755
(executable)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-31,7
+31,7
@@
WDIR="/var/www/webalizer"
WHTPASSWD="$WDIR/.htpasswd"
WCONF="/etc/webalizer/webalizer.conf"
WCONFBAK=`basename $WCONF`
WHTPASSWD="$WDIR/.htpasswd"
WCONF="/etc/webalizer/webalizer.conf"
WCONFBAK=`basename $WCONF`
-oldreporttitle="Usage Statistics for"
+oldreporttitle="usage statistics for"
reporttitle="Statistika pristupa za"
reporttitle="Statistika pristupa za"
@@
-49,7
+49,8
@@
if [ -f "$WCONF" ]; then
fi
# Check for ReportTitle
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}$"
if [ "$temp" = "$oldreporttitle" ]; then
temp_re="^[[:space:]]*ReportTitle[[:space:]]*${oldreporttitle}$"