X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;ds=sidebyside;f=debian%2Fpostinst;h=c4fca829cebd3e506892dc7f3e88080fd4754fee;hb=d44cbb4cf6ac73c9a82aa1e00b9b5e6a7739d98e;hp=93fc429902c474a7821429f79998cb495dbda0db;hpb=f7033eaa1824362d69465a9ca29c6fd180efb713;p=webalizer-cn.git diff --git a/debian/postinst b/debian/postinst index 93fc429..c4fca82 100755 --- a/debian/postinst +++ b/debian/postinst @@ -31,14 +31,14 @@ WDIR="/var/www/webalizer" WHTPASSWD="$WDIR/.htpasswd" WCONF="/etc/webalizer/webalizer.conf" WCONFBAK=`basename $WCONF` -oldreporttitle="Usage Statistics for" +oldreporttitle="usage statistics for" reporttitle="Statistika pristupa za" if [ -f "$WCONF" ]; then # Backup first. - if cp_check_and_backup "$WCONFBAK"; then + if cp_check_and_backup "$WCONF"; then cp_echo "CN: Old $WCONF saved as \"/var/backups/$WCONFBAK.bak\"." fi @@ -49,7 +49,8 @@ if [ -f "$WCONF" ]; then fi # Check for ReportTitle - temp=`awk 'tolower($1) == "reporttitle" { for(i=2; i