From ab35e99631d872ed3b1e15f99a47d00bcc7f1e71 Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Fri, 29 Mar 2024 13:03:40 +0100 Subject: [PATCH] arc-a: fix update Signed-off-by: AuxXxilium --- files/initrd/opt/arc/arc.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/files/initrd/opt/arc/arc.sh b/files/initrd/opt/arc/arc.sh index 7d20524..84aabe1 100755 --- a/files/initrd/opt/arc/arc.sh +++ b/files/initrd/opt/arc/arc.sh @@ -98,9 +98,11 @@ function updateMenu() { --infobox "Error checking new Version!\nUse current Version." 0 0 sleep 5 arcModel + exit 0 fi if [ "${ACTUALVERSION}" = "${TAG}" ]; then arcModel + exit 0 fi dialog --backtitle "$(backtitle)" --title "Upgrade Loader" --aspect 18 \ --infobox "Downloading ${TAG}" 0 0 @@ -111,6 +113,7 @@ function updateMenu() { --infobox "Error downloading Updatefile!\nUse current Version." 0 0 sleep 5 arcModel + exit 0 fi unzip -oq "${TMP_PATH}/arc-c-${TAG}.img.zip" -d "${TMP_PATH}" rm -f "${TMP_PATH}/arc-c-${TAG}.img.zip" @@ -119,6 +122,7 @@ function updateMenu() { --infobox "Error extracting Updatefile!\nUse current Version." 0 0 sleep 5 arcModel + exit 0 fi dialog --backtitle "$(backtitle)" --title "Upgrade Loader" --aspect 18 \ --infobox "Installing new Loader Image" 0 0