From 1003c7a5555f08bb33a6dda47a712782f089bfa0 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Sun, 5 Jun 2022 16:32:35 +0200 Subject: [PATCH] Add noconfirm --- arch-setup/install.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch-setup/install.sh b/arch-setup/install.sh index e5245f26..7d3cbf7e 100755 --- a/arch-setup/install.sh +++ b/arch-setup/install.sh @@ -16,11 +16,17 @@ if ! pacman -Sl multilib &> /dev/null; then exit 1 fi +# NOTE on unattended pacman installing +# Option 1: Will assume the default choice +#--noconfirm +# Option 2: Will always choose "yes", locale override needed to work all the time (might fail for other locales) +#yes | LC_ALL=en_US.UTF-8 pacman ... + # fix install problems echo Updating repos and packages sudo pacman -Syu echo Installing pip -sudo pacman -S --needed python-pip +sudo pacman -S --needed --noconfirm python-pip echo Select packages to install cmd=(dialog --separate-output --checklist "Select Desktop environment/Window manager:" 22 76 16)