mirror of
https://gitlab.com/Nanolx/patchimage.git
synced 2025-01-14 17:59:07 +01:00
small fix in check_riivolution_patch
This commit is contained in:
parent
6945d69196
commit
815b5bd0e2
@ -31,7 +31,7 @@ cleanup () {
|
|||||||
ask_game () {
|
ask_game () {
|
||||||
|
|
||||||
echo -e "************************************************
|
echo -e "************************************************
|
||||||
mknewersmb.sh
|
patchimage.sh
|
||||||
|
|
||||||
Enter Letter for the Game you want to create:
|
Enter Letter for the Game you want to create:
|
||||||
A NewerSMB
|
A NewerSMB
|
||||||
@ -75,13 +75,11 @@ check_riivolution_patch () {
|
|||||||
if [[ ${DOWNLOAD} ]]; then
|
if [[ ${DOWNLOAD} ]]; then
|
||||||
wget ${DOWNLOAD_LINK} -O ./${RIIVOLUTION_ZIP}
|
wget ${DOWNLOAD_LINK} -O ./${RIIVOLUTION_ZIP}
|
||||||
unzip ./${RIIVOLUTION_ZIP} >/dev/null
|
unzip ./${RIIVOLUTION_ZIP} >/dev/null
|
||||||
elif [[ ! ${RIIVOLUTION}} ]]; then
|
elif [[ -f ./${RIIVOLUTION_ZIP} && ! -d ./${RIIVOLUTION_DIR} ]]; then
|
||||||
if [[ -e ./${RIIVOLUTION_ZIP} ]]; then
|
unzip ./${RIIVOLUTION_ZIP} >/dev/null
|
||||||
unzip ./${RIIVOLUTION_ZIP} >/dev/null
|
elif [[ ! -d ./${RIIVOLUTION_DIR} ]]; then
|
||||||
elif [[ ! -d ./${RIIVOLUTION_DIR} ]]; then
|
echo -e "please specify zip to use with --riivolution=<path>"
|
||||||
echo -e "please specify zip to use with --riivolution=<path>"
|
exit 1
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user