* don't keep extracted files even in HARDLINK mode

* fix matching issues
This commit is contained in:
Reinhard Pointner 2013-02-05 15:44:18 +00:00
parent 69b4f70a7c
commit a2e36c5173
2 changed files with 3 additions and 2 deletions

View File

@ -192,6 +192,7 @@ TPB
TRUEFRENCH
TS
TSXVID
tvp
ultimate.edition
UNCUT
unrated

View File

@ -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{