From 1c54ed9ebd9419deba716483a53d0e409f0ceb83 Mon Sep 17 00:00:00 2001 From: Jason Streifling Date: Sun, 22 Feb 2026 08:32:11 +0100 Subject: [PATCH] add --needed flag for second attempt at installing dependencies --- arch_update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch_update b/arch_update index 8f48001..225f511 100755 --- a/arch_update +++ b/arch_update @@ -90,7 +90,7 @@ if [ ! "X$dependencies" = 'X' ]; then echo -e '\nInstalling dependencies ...' >&2 if ! yay -S --needed --noconfirm $dependencies; then if yay -Syu; then - yay -S --noconfirm $dependencies + yay -S --needed --noconfirm $dependencies else echo -e '\nUnable to fetch package list. Aborting ...' >&2 exit 1