mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 05:43:16 -07:00
Merge pull request #29 from Smenus/master
Upstream Update (from NZBGet 9.1)
This commit is contained in:
commit
a68a5c54b8
1 changed files with 11 additions and 0 deletions
|
@ -377,6 +377,17 @@ if (ls *.rar >/dev/null 2>&1); then
|
||||||
rmdir extracted
|
rmdir extracted
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# If there were nothing to unrar and the download was not par-checked,
|
||||||
|
# we don't know if it's OK. To be sure we force par-check.
|
||||||
|
# In particular that helps with downloads containing renamed rar-files.
|
||||||
|
# The par-repair will rename files to correct names, then we can unpack.
|
||||||
|
if [ "$Unrared" -eq 0 -a "$NZBPP_PARSTATUS" -eq 0 ]; then
|
||||||
|
if (ls *.[pP][aA][rR]2 >/dev/null 2>&1); then
|
||||||
|
echo "[INFO] Post-Process: No rar-files found, requesting par-check"
|
||||||
|
exit $POSTPROCESS_PARCHECK_ALL
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# If download contains only nzb-files move them into nzb-directory
|
# If download contains only nzb-files move them into nzb-directory
|
||||||
# for further download
|
# for further download
|
||||||
# Check if command "wc" exists
|
# Check if command "wc" exists
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue