fixed --noconfirm for archbased installations

This commit is contained in:
pika 2025-07-10 09:11:48 +02:00
parent c43c508b1e
commit a3bdb89504

View file

@ -158,11 +158,11 @@ setup-pkg() {
pacman) pacman)
install() { install() {
if command-exists paru; then if command-exists paru; then
paru -S --no-confirm --color=always "$@" paru -S --noconfirm --color=always "$@"
elif command-exists yay; then elif command-exists yay; then
yay -S --no-confirm --color=always "$@" yay -S --noconfirm --color=always "$@"
else else
$_sudo pacman -S --no-confirm --color=always "$@" $_sudo pacman -S --noconfirm --color=always "$@"
fi fi
} }