diff --git a/CONTROL/control b/CONTROL/control index 769c5c7..745d0c2 100644 --- a/CONTROL/control +++ b/CONTROL/control @@ -1,7 +1,7 @@ Package: webif Priority: optional Section: web -Version: 0.8.6-1 +Version: 0.8.6-2 Architecture: mipsel Maintainer: af123@hummypkg.org.uk Depends: mongoose(>=3.0-2),jim(>=0.71-1),jim-sqlite3(>=0.71-1),jim-cgi(>=0.4-1),jim-oo,jim-pack,service-control,busybox(>=1.19.3-1),lsof,epg(>=1.0.8),hmt(>=1.1.2),ssmtp,anacron diff --git a/var/mongoose/cgi-bin/backup/backup.jim b/var/mongoose/cgi-bin/backup/backup.jim index 72b8eae..0150758 100755 --- a/var/mongoose/cgi-bin/backup/backup.jim +++ b/var/mongoose/cgi-bin/backup/backup.jim @@ -19,7 +19,7 @@ set file [file tail [cgi_get file \ if {[string match {auto-*} $file]} { # Delete any automatic backups over 7 days old. - set mt $(7 * 3600) + set mt $(7 * 86400) foreach af [glob -nocomplain "$dir/auto-*"] { set aft [file mtime $af] set diff $($now - $aft)