From d3ce9bc48a08f636d138acd566ab1410ef211fb4 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Tue, 1 Aug 2023 21:46:44 +0200 Subject: [PATCH] don't allow testing and select_mirror on local medium --- usr/bin/archboot-pacsetup.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/usr/bin/archboot-pacsetup.sh b/usr/bin/archboot-pacsetup.sh index 21e9c56e3..25d64ec38 100755 --- a/usr/bin/archboot-pacsetup.sh +++ b/usr/bin/archboot-pacsetup.sh @@ -145,11 +145,12 @@ EOF pacman -Sy >>"${_LOG}" sleep 2 break + else + if [[ "${_RUNNING_ARCH}" == "x86_64" ]]; then + _enable_testing + fi + _select_mirror fi - if [[ "${_RUNNING_ARCH}" == "x86_64" ]]; then - _enable_testing - fi - _select_mirror if _prepare_pacman | _dialog --no-mouse --gauge "Waiting for Arch Linux keyring initialization..." 6 70 0; then break else