From 714681fdd9933668318cbcde3ef621ea72b72b2d Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Sun, 8 Feb 2026 21:21:52 +0100 Subject: [PATCH] Fixed Alpine3.23 post upgrade task * Task has a y/n loop that did not quit after responce --- functions.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/functions.sh b/functions.sh index 75d459f..a0a06a8 100644 --- a/functions.sh +++ b/functions.sh @@ -58,6 +58,7 @@ UpdatePackages () { $INSTCALL -- apk update $INSTCALL -- apk upgrade elif [[ "${DIST}" == *"centos"* ]] || [[ "${DIST}" == *"fedora"* ]]; then + $INSTCALL -- dnf clean all $INSTCALL -- dnf update -y else echo "Warning: Package manager in not supported" @@ -283,10 +284,10 @@ PostAlpine323Tasks () { [Nn]* ) $INSTCALL -- merge-usr $INSTCALL -- apk del merge-usr - ;; + break;; [Yy]* ) echo "Migrating /bin to /usr/bin skiped due to an error, please investigate and complete manualy" - ;; + break;; * ) echo "Choose yes or no.";; esac done