mirror of
https://gitlab.com/Nanolx/patchimage.git
synced 2025-02-17 17:16:22 +01:00
tell user of custom banner could not be downloaded
This commit is contained in:
parent
2cfc607f75
commit
44ed333b42
@ -122,10 +122,14 @@ download_banner () {
|
|||||||
if [[ ! -f "${PATCHIMAGE_RIIVOLUTION_DIR}"/"${GAMEID}"-custom-banner.bnr ]]; then
|
if [[ ! -f "${PATCHIMAGE_RIIVOLUTION_DIR}"/"${GAMEID}"-custom-banner.bnr ]]; then
|
||||||
wget -q --no-check-certificate "${CUSTOM_BANNER}" \
|
wget -q --no-check-certificate "${CUSTOM_BANNER}" \
|
||||||
-O "${PATCHIMAGE_RIIVOLUTION_DIR}"/"${GAMEID}"-custom-banner.bnr__tmp
|
-O "${PATCHIMAGE_RIIVOLUTION_DIR}"/"${GAMEID}"-custom-banner.bnr__tmp
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -f "${PATCHIMAGE_RIIVOLUTION_DIR}"/"${GAMEID}"-custom-banner.bnr ]]; then
|
||||||
mv "${PATCHIMAGE_RIIVOLUTION_DIR}"/"${GAMEID}"-custom-banner.bnr__tmp \
|
mv "${PATCHIMAGE_RIIVOLUTION_DIR}"/"${GAMEID}"-custom-banner.bnr__tmp \
|
||||||
"${PATCHIMAGE_RIIVOLUTION_DIR}"/"${GAMEID}"-custom-banner.bnr
|
"${PATCHIMAGE_RIIVOLUTION_DIR}"/"${GAMEID}"-custom-banner.bnr
|
||||||
fi
|
|
||||||
BANNER="${PATCHIMAGE_RIIVOLUTION_DIR}"/"${GAMEID}"-custom-banner.bnr
|
BANNER="${PATCHIMAGE_RIIVOLUTION_DIR}"/"${GAMEID}"-custom-banner.bnr
|
||||||
|
else "*** >> could not download custom banner"
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
echo "*** >> no custom banner available"
|
echo "*** >> no custom banner available"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user