remove New: ruleset
This commit is contained in:
parent
0b7de42218
commit
e38e90f710
|
@ -1,7 +1,7 @@
|
||||||
Package: sweeper
|
Package: sweeper
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Section: misc
|
Section: misc
|
||||||
Version: 2.0.8-2
|
Version: 2.0.8-3
|
||||||
Architecture: mipsel
|
Architecture: mipsel
|
||||||
Maintainer: af123@hummypkg.org.uk
|
Maintainer: af123@hummypkg.org.uk
|
||||||
Depends: webif(>=1.2.2-6)
|
Depends: webif(>=1.2.2-6)
|
||||||
|
|
|
@ -307,6 +307,45 @@ var macros = {
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
newk: {
|
||||||
|
desc: 'Remove New: prefix',
|
||||||
|
rules: [
|
||||||
|
{
|
||||||
|
"raw": "title New:* action {settitle {%orig%replace,New: ,,}}",
|
||||||
|
"name": "Remove New: prefix.",
|
||||||
|
"type": "file",
|
||||||
|
"enabled": "1",
|
||||||
|
"criteria": [
|
||||||
|
{
|
||||||
|
"negate": 0,
|
||||||
|
"cmd": "title",
|
||||||
|
"arg": "New:*"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"action": {
|
||||||
|
"cmd": "settitle",
|
||||||
|
"arg": "%orig%replace,New: ,,"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"raw": "title New:* action {settitle {%orig%replace,New: ,,}}",
|
||||||
|
"name": "Unnamed rule",
|
||||||
|
"type": "folder",
|
||||||
|
"enabled": "1",
|
||||||
|
"criteria": [
|
||||||
|
{
|
||||||
|
"negate": 0,
|
||||||
|
"cmd": "title",
|
||||||
|
"arg": "New:*"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"action": {
|
||||||
|
"cmd": "settitle",
|
||||||
|
"arg": "%orig%replace,New: ,,"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
example: {
|
example: {
|
||||||
desc: 'Example rules',
|
desc: 'Example rules',
|
||||||
rules: [
|
rules: [
|
||||||
|
|
Loading…
Reference in New Issue