fixes
This commit is contained in:
parent
b8833af068
commit
2460cda298
|
@ -1,7 +1,7 @@
|
||||||
Package: sweeper
|
Package: sweeper
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Section: misc
|
Section: misc
|
||||||
Version: 2.0.8-5
|
Version: 2.0.8-6
|
||||||
Architecture: mipsel
|
Architecture: mipsel
|
||||||
Maintainer: af123@hummypkg.org.uk
|
Maintainer: af123@hummypkg.org.uk
|
||||||
Depends: webif(>=1.2.3-2)
|
Depends: webif(>=1.2.3-2)
|
||||||
|
|
|
@ -266,7 +266,7 @@ proc ::sweeper::find {root target orig} {
|
||||||
foreach e [readdir -nocomplain $root] {
|
foreach e [readdir -nocomplain $root] {
|
||||||
regsub -all -- {//} "$root/$e" "/" entry
|
regsub -all -- {//} "$root/$e" "/" entry
|
||||||
if {![file isdirectory $entry]} continue
|
if {![file isdirectory $entry]} continue
|
||||||
if {[string match {\[*} $e]} continue
|
if {[string match {\[*} [string trimleft $e]]} continue
|
||||||
if {$e eq $dustbin} continue
|
if {$e eq $dustbin} continue
|
||||||
if {$entry eq $orig} continue
|
if {$entry eq $orig} continue
|
||||||
|
|
||||||
|
@ -831,7 +831,7 @@ proc ::sweeper::apply {dir cf} {
|
||||||
foreach e [readdir -nocomplain $dir] {
|
foreach e [readdir -nocomplain $dir] {
|
||||||
set entry "$dir/$e"
|
set entry "$dir/$e"
|
||||||
if {![file isdirectory $entry]} continue
|
if {![file isdirectory $entry]} continue
|
||||||
if {[string match {\[*} $e]} continue
|
if {[string match {\[*} [string trimleft $e]]} continue
|
||||||
if {$e eq $dustbin} continue
|
if {$e eq $dustbin} continue
|
||||||
|
|
||||||
log "" 2
|
log "" 2
|
||||||
|
|
|
@ -313,24 +313,7 @@ var macros = {
|
||||||
{
|
{
|
||||||
"raw": "title New:* action {settitle {%orig%regsub,New:\\s*,,}}",
|
"raw": "title New:* action {settitle {%orig%regsub,New:\\s*,,}}",
|
||||||
"name": "Remove New: prefix.",
|
"name": "Remove New: prefix.",
|
||||||
"type": "file",
|
"type": "global",
|
||||||
"enabled": "1",
|
|
||||||
"criteria": [
|
|
||||||
{
|
|
||||||
"negate": 0,
|
|
||||||
"cmd": "title",
|
|
||||||
"arg": "New:*"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"action": {
|
|
||||||
"cmd": "settitle",
|
|
||||||
"arg": "%orig%regsub,New:\\s*,,"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"raw": "title New:* action {settitle {%orig%regsub,New:\\s*,,}}",
|
|
||||||
"name": "Unnamed rule",
|
|
||||||
"type": "folder",
|
|
||||||
"enabled": "1",
|
"enabled": "1",
|
||||||
"criteria": [
|
"criteria": [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue