forked from hummypkg/sweeper
comment fixes, ignore leading spaces in harness
This commit is contained in:
parent
1feeb15d7e
commit
3a6386c2d2
@ -1,7 +1,7 @@
|
|||||||
Package: sweeper
|
Package: sweeper
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Section: misc
|
Section: misc
|
||||||
Version: 2.0.13
|
Version: 2.0.13-1
|
||||||
Architecture: mipsel
|
Architecture: mipsel
|
||||||
Maintainer: af123@hummypkg.org.uk
|
Maintainer: af123@hummypkg.org.uk
|
||||||
Depends: webif(>=1.2.5)
|
Depends: webif(>=1.2.5)
|
||||||
|
@ -28,7 +28,7 @@ proc register {args} {}
|
|||||||
proc scan_run {dir flag callback} {
|
proc scan_run {dir flag callback} {
|
||||||
global dustbin
|
global dustbin
|
||||||
|
|
||||||
if {[string match {\[*} [file tail $dir]]} return
|
if {[string match {\[*} [string trimleft [file tail $dir]]]} return
|
||||||
|
|
||||||
if {[file exists "$dir/.$flag"]} { $callback $dir }
|
if {[file exists "$dir/.$flag"]} { $callback $dir }
|
||||||
|
|
||||||
|
@ -304,13 +304,13 @@ var schema = {
|
|||||||
lock: {
|
lock: {
|
||||||
'class': 'all',
|
'class': 'all',
|
||||||
argtype: 'none',
|
argtype: 'none',
|
||||||
desc: 'Lock recordings',
|
desc: 'Lock recording',
|
||||||
continues: true
|
continues: true
|
||||||
},
|
},
|
||||||
unlock: {
|
unlock: {
|
||||||
'class': 'all',
|
'class': 'all',
|
||||||
argtype: 'none',
|
argtype: 'none',
|
||||||
desc: 'Unlock recordings',
|
desc: 'Unlock recording',
|
||||||
continues: true
|
continues: true
|
||||||
},
|
},
|
||||||
flag: {
|
flag: {
|
||||||
@ -328,7 +328,7 @@ var schema = {
|
|||||||
'delete': {
|
'delete': {
|
||||||
'class': 'all',
|
'class': 'all',
|
||||||
argtype: 'none',
|
argtype: 'none',
|
||||||
desc: 'Delete recordings',
|
desc: 'Delete recording',
|
||||||
continues: false
|
continues: false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user