remove New: ruleset
This commit is contained in:
parent
0b7de42218
commit
e38e90f710
@ -1,7 +1,7 @@
|
||||
Package: sweeper
|
||||
Priority: optional
|
||||
Section: misc
|
||||
Version: 2.0.8-2
|
||||
Version: 2.0.8-3
|
||||
Architecture: mipsel
|
||||
Maintainer: af123@hummypkg.org.uk
|
||||
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: {
|
||||
desc: 'Example rules',
|
||||
rules: [
|
||||
|
Loading…
Reference in New Issue
Block a user