mirror of
https://gitlab.com/Nanolx/patchimage.git
synced 2024-12-27 09:41:49 +01:00
Show two links if the download of riivolution patch failed
This commit is contained in:
parent
6a451756e6
commit
545ce0c22d
@ -47,7 +47,7 @@ download_riivolution_patch () {
|
||||
${GDOWN} "${DOWNLOAD_LINK}" \
|
||||
"${PATCHIMAGE_RIIVOLUTION_DIR}/${RIIVOLUTION_ZIP}"__tmp >/dev/null || \
|
||||
( rm "${PATCHIMAGE_RIIVOLUTION_DIR}/${RIIVOLUTION_ZIP}"__tmp && \
|
||||
echo -e "\nDownload failed!" && exit 57 )
|
||||
download_riivolution_failed && exit 57 )
|
||||
mv "${PATCHIMAGE_RIIVOLUTION_DIR}/${RIIVOLUTION_ZIP}"__tmp \
|
||||
"${PATCHIMAGE_RIIVOLUTION_DIR}/${RIIVOLUTION_ZIP}"
|
||||
echo "*** >> unpacking"
|
||||
@ -61,7 +61,7 @@ download_riivolution_patch () {
|
||||
--path="${PATCHIMAGE_RIIVOLUTION_DIR}/${RIIVOLUTION_ZIP}"__tmp \
|
||||
"${DOWNLOAD_LINK}" >/dev/null || \
|
||||
( rm "${PATCHIMAGE_RIIVOLUTION_DIR}/${RIIVOLUTION_ZIP}"__tmp && \
|
||||
echo -e "\nDownload failed!" && exit 57 )
|
||||
download_riivolution_failed && exit 57 )
|
||||
mv "${PATCHIMAGE_RIIVOLUTION_DIR}/${RIIVOLUTION_ZIP}"__tmp \
|
||||
"${PATCHIMAGE_RIIVOLUTION_DIR}/${RIIVOLUTION_ZIP}"
|
||||
echo "*** >> unpacking"
|
||||
@ -80,6 +80,7 @@ download_riivolution_patch () {
|
||||
|
||||
"" )
|
||||
echo "no download link for ${GAMENAME} available."
|
||||
download_riivolution_failed
|
||||
exit 21
|
||||
;;
|
||||
|
||||
@ -89,7 +90,7 @@ download_riivolution_patch () {
|
||||
wget -nv --no-check-certificate "${DOWNLOAD_LINK}" \
|
||||
-O "${PATCHIMAGE_RIIVOLUTION_DIR}/${RIIVOLUTION_ZIP}"__tmp || \
|
||||
( rm "${PATCHIMAGE_RIIVOLUTION_DIR}/${RIIVOLUTION_ZIP}"__tmp && \
|
||||
echo -e "\nDownload failed!" && exit 57 )
|
||||
download_riivolution_failed && exit 57 )
|
||||
mv "${PATCHIMAGE_RIIVOLUTION_DIR}/${RIIVOLUTION_ZIP}"__tmp \
|
||||
"${PATCHIMAGE_RIIVOLUTION_DIR}/${RIIVOLUTION_ZIP}"
|
||||
echo "*** >> unpacking"
|
||||
@ -122,3 +123,11 @@ download_covers () {
|
||||
done
|
||||
|
||||
}
|
||||
|
||||
download_riivolution_failed () {
|
||||
echo -e "\nDownload failed!
|
||||
You can try to download manualy from :
|
||||
https://goaibox.com/sl/3suwkMVFZj
|
||||
https://archive.org/download/new-super-mario-bros-wii-mod-archive/"
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user