add --needed flag for second attempt at installing dependencies
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user