Update Downloader.bash
This commit is contained in:
parent
efdc3f2142
commit
f8b0c67f10
1 changed files with 8 additions and 1 deletions
|
@ -523,12 +523,19 @@ do
|
||||||
fileName="$(basename "$filteredOtherRoms")"
|
fileName="$(basename "$filteredOtherRoms")"
|
||||||
fileName="$(UrlDecode "$fileName")"
|
fileName="$(UrlDecode "$fileName")"
|
||||||
romUrl="$filteredOtherRoms"
|
romUrl="$filteredOtherRoms"
|
||||||
|
if [ ! -z "$fileName" ]; then
|
||||||
log "$processNumber/$platformToProcessNumber :: $platformName :: $romProcessNumber/$romListCount :: OTHER ROM FOUND ($fileName)"
|
log "$processNumber/$platformToProcessNumber :: $platformName :: $romProcessNumber/$romListCount :: OTHER ROM FOUND ($fileName)"
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
log "$processNumber/$platformToProcessNumber :: $platformName :: $romProcessNumber/$romListCount :: ERROR :: No Filtered Roms Found..."
|
log "$processNumber/$platformToProcessNumber :: $platformName :: $romProcessNumber/$romListCount :: ERROR :: No Filtered Roms Found..."
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -z "$fileName" ]; then
|
||||||
|
log "$processNumber/$platformToProcessNumber :: $platformName :: $romProcessNumber/$romListCount :: ERROR :: No Filtered Roms Found ($archiveContentsUrl)..."
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
|
||||||
# verify download
|
# verify download
|
||||||
if [ -f "${outputdir}${subFolder}${fileName}" ]; then
|
if [ -f "${outputdir}${subFolder}${fileName}" ]; then
|
||||||
DownloadFileVerification "${outputdir}${subFolder}${fileName}"
|
DownloadFileVerification "${outputdir}${subFolder}${fileName}"
|
||||||
|
|
Loading…
Reference in a new issue