From c832359e4387a060434f04265199d3fa3a937da8 Mon Sep 17 00:00:00 2001 From: Arsen Musayelyan Date: Sat, 24 Dec 2022 16:35:00 -0800 Subject: [PATCH] Add noconfirm flags to install script --- scripts/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install.sh b/scripts/install.sh index 9ab4121..2bdcfc3 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -24,9 +24,9 @@ installPkg() { fi case $1 in - pacman) $rootCmd pacman -U ${@:2} ;; + pacman) $rootCmd pacman --noconfirm -U ${@:2} ;; apk) $rootCmd apk add --allow-untrusted ${@:2} ;; - *) $rootCmd $1 install ${@:2} ;; + *) $rootCmd $1 install -y ${@:2} ;; esac }