From 9c815711d4053b69f52629b64fad12e469e7cb12 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Tue, 6 Dec 2022 09:34:30 +0100 Subject: [PATCH] don't jump to menu leaving on special devices menu --- usr/lib/archboot/installer/storage.sh | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/usr/lib/archboot/installer/storage.sh b/usr/lib/archboot/installer/storage.sh index e55530a06..364a1526b 100644 --- a/usr/lib/archboot/installer/storage.sh +++ b/usr/lib/archboot/installer/storage.sh @@ -70,11 +70,7 @@ _createmd() { MDDONE=1 ;; esac done - if [[ "${CANCEL}" = "1" ]]; then - NEXTITEM="1" - else - NEXTITEM="4" - fi + NEXTITEM="1" } # menu for lvm creation @@ -112,11 +108,7 @@ _createlvm() { LVMDONE=1 ;; esac done - if [[ "${CANCEL}" = "1" ]]; then - NEXTITEM="2" - else - NEXTITEM="4" - fi + NEXTITEM="2" } # menu for luks creation @@ -148,9 +140,5 @@ _createluks() { LUKSDONE=1 ;; esac done - if [[ "${CANCEL}" = "1" ]]; then - NEXTITEM="3" - else - NEXTITEM="4" - fi + NEXTITEM="3" }