From 21b3361b7132710e828ddf9dd1af37b79b685365 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Fri, 25 Nov 2022 21:42:14 +0100 Subject: [PATCH] fix autoconfiguration --- usr/bin/archboot-setup.sh | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/usr/bin/archboot-setup.sh b/usr/bin/archboot-setup.sh index d83b948d7..8954f3733 100755 --- a/usr/bin/archboot-setup.sh +++ b/usr/bin/archboot-setup.sh @@ -98,15 +98,12 @@ prepare_storagedrive() { configure_system() { destdir_mounts || return 1 ## PREPROCESSING ## - # only done on first invocation of configure_system and redone on canceled configure system - if [[ ${S_CONFIG} -eq 0 ]]; then - DIALOG --infobox "Preconfiguring system ..." 3 40 - auto_pacman_mirror - auto_network - auto_parameters - auto_system_files - auto_mkinitcpio - fi + DIALOG --infobox "Preconfiguring system ..." 3 40 + auto_pacman_mirror + auto_network + auto_parameters + auto_system_files + auto_mkinitcpio ## END PREPROCESS ## geteditor || return 1 check_root_password || return 1 @@ -114,7 +111,6 @@ configure_system() { # main menu loop while true; do - S_CONFIG=0 if [[ -n "${FILE}" ]]; then DEFAULT="--default-item ${FILE}" else