diff --git a/CONTROL/control b/CONTROL/control index 6207c57..0b90d24 100644 --- a/CONTROL/control +++ b/CONTROL/control @@ -1,7 +1,7 @@ Package: webif Priority: optional Section: web -Version: 0.8.7 +Version: 0.8.7-1 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/browse/mdelete.jim b/var/mongoose/cgi-bin/browse/mdelete.jim index 841beef..1d61481 100755 --- a/var/mongoose/cgi-bin/browse/mdelete.jim +++ b/var/mongoose/cgi-bin/browse/mdelete.jim @@ -29,7 +29,7 @@ foreach file [split [cgi_get files] ","] { puts -nonewline "Done..." } } else { - if {[catch {file delete $ts} msg]} { + if {[catch {file delete $file} msg]} { puts -nonewline "Error: $msg" } else { catch {file delete "[file rootname $file].hmi"} diff --git a/var/mongoose/cgi-bin/dedup.jim b/var/mongoose/cgi-bin/dedup.jim index f75f849..2812469 100755 --- a/var/mongoose/cgi-bin/dedup.jim +++ b/var/mongoose/cgi-bin/dedup.jim @@ -40,6 +40,7 @@ foreach file [lsort [glob -nocomplain "$sdir"]] { puts "