* don't keep extracted files even in HARDLINK mode
* fix matching issues
This commit is contained in:
parent
69b4f70a7c
commit
a2e36c5173
|
@ -192,6 +192,7 @@ TPB
|
|||
TRUEFRENCH
|
||||
TS
|
||||
TSXVID
|
||||
tvp
|
||||
ultimate.edition
|
||||
UNCUT
|
||||
unrated
|
||||
|
|
|
@ -264,7 +264,7 @@ if (gmail) {
|
|||
}
|
||||
}
|
||||
},
|
||||
messagemimetype: "text/html",
|
||||
messagemimetype: 'text/html',
|
||||
to: tryQuietly{ mailto } ?: gmail[0] + '@gmail.com', // mail to self by default
|
||||
user: gmail[0], password: gmail[1]
|
||||
)
|
||||
|
@ -272,7 +272,7 @@ if (gmail) {
|
|||
|
||||
// clean empty folders, clutter files, etc after move
|
||||
if (clean) {
|
||||
if ('COPY'.equalsIgnoreCase(_args.action) && extractedFiles?.size() > 0) {
|
||||
if (['COPY', 'HARDLINK'].find{ it.equalsIgnoreCase(_args.action) } && extractedFiles?.size() > 0) {
|
||||
println 'Clean temporary extracted files'
|
||||
// delete extracted files
|
||||
extractedFiles.each{
|
||||
|
|
Loading…
Reference in New Issue