Ispravak verzije paketa za Debian lenny.
authorDragan Dosen <bane@nekkar.carnet.hr>
Tue, 19 May 2009 19:00:53 +0000 (21:00 +0200)
committerDragan Dosen <bane@nekkar.carnet.hr>
Tue, 19 May 2009 19:00:53 +0000 (21:00 +0200)
Ispravak greske kod koristenja cp_check_and_backup(),
datoteka debian/postinst.

debian/changelog
debian/postinst

index ae587d2..660501f 100644 (file)
@@ -1,4 +1,4 @@
-webalizer-cn (2.01.10-32.4) stable; urgency=low
+webalizer-cn (2.01.10-32.4lenny1) stable; urgency=low
 
   * Upgrade paketa za Debian lenny.
   * Inicijalna zaporka (admin korisnik) za pristup Webalizer web
index 93fc429..79c7040 100755 (executable)
@@ -38,7 +38,7 @@ 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