From c37919fc9da8773fa5670db8cb1d923fdb85d613 Mon Sep 17 00:00:00 2001
From: Tobias Powalowski
Date: Thu, 6 Jun 2024 15:44:37 +0200
Subject: [PATCH] jump to menu point 2 after successfull quick setup
---
usr/lib/archboot/installer/base.sh | 11 +++++++----
usr/share/archboot/doc/archboot.html | 4 ++--
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/usr/lib/archboot/installer/base.sh b/usr/lib/archboot/installer/base.sh
index d3c733d0e..36063dca9 100644
--- a/usr/lib/archboot/installer/base.sh
+++ b/usr/lib/archboot/installer/base.sh
@@ -117,17 +117,20 @@ _prepare_storagedrive() {
_NEXTITEM="$(cat "${_ANSWER}")"
case $(cat "${_ANSWER}") in
"1") _CREATE_MOUNTPOINTS=1
- _autoprepare && break
+ if _autoprepare; then
+ _NEXTITEM="2"
+ break
+ fi
;;
"2") _partition ;;
"3") _create_special ;;
"4") _DEVFINISH=""
_CREATE_MOUNTPOINTS=1
if _mountpoints; then
- _NEXTITEM="2"
- break
+ _NEXTITEM="2"
+ break
else
- _NEXTITEM="4"
+ _NEXTITEM="4"
fi ;;
*) _NEXTITEM="1"
break ;;
diff --git a/usr/share/archboot/doc/archboot.html b/usr/share/archboot/doc/archboot.html
index 813757560..73a941617 100644
--- a/usr/share/archboot/doc/archboot.html
+++ b/usr/share/archboot/doc/archboot.html
@@ -17,7 +17,7 @@
Archboot Home | Gallery |
2024 Fundraise: 0% 100%
© 2006 - 2024 | Tobias Powalowski | Arch Linux Developer tpowa
-Last update: 06.06.2024 14:47
+Last update: 06.06.2024 15:07