mirror of
https://gitlab.com/Nanolx/patchimage.git
synced 2024-11-24 10:09:22 +01:00
fixup --patch cmd flag
This commit is contained in:
parent
38c46c233b
commit
8936430724
@ -512,7 +512,7 @@ while [[ $xcount -lt $pcount ]]; do
|
|||||||
|
|
||||||
--riivolution=* )
|
--riivolution=* )
|
||||||
RIIVOLUTION="${1/*=}"
|
RIIVOLUTION="${1/*=}"
|
||||||
if [[ -e "${RIIVOLUTION}" ]]; then
|
if [[ -f "${RIIVOLUTION}" ]]; then
|
||||||
"${UNP}" "${RIIVOLUTION}" >/dev/null
|
"${UNP}" "${RIIVOLUTION}" >/dev/null
|
||||||
else
|
else
|
||||||
echo -e "Riivolution patch ${RIIVOLUTION} not found."
|
echo -e "Riivolution patch ${RIIVOLUTION} not found."
|
||||||
@ -522,10 +522,10 @@ while [[ $xcount -lt $pcount ]]; do
|
|||||||
|
|
||||||
--patch=* )
|
--patch=* )
|
||||||
PATCH="${1/*=}"
|
PATCH="${1/*=}"
|
||||||
if [[ -e "${PATCH}" ]]; then
|
if [[ -f "${PATCH}" ]]; then
|
||||||
${UNP} "${PATCH}" >/dev/null
|
PATCH="${PATCH}"
|
||||||
else
|
else
|
||||||
echo -e "PATCH patch ${PATCH} not found."
|
echo -e "IPS/PPF patch ${PATCH} not found."
|
||||||
exit 21
|
exit 21
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user