Added sudoloop to the yay command so it won't fail to install after building.

This commit is contained in:
Storm Dragon 2022-10-26 17:42:24 -04:00
parent ce3bbfaebc
commit 0b7a8b76fd

View File

@ -516,7 +516,7 @@ case "${game}" in
dialog --backtitle "Linux Game Manager" \
--yesno "Do you want Linux Game Manager to install freedoom and gzdoom for you? If you want to do this manually, select no." -1 -1 --stdout || exit 0
if command -v yay &> /dev/null ; then
yay -Sy --noconfirm freedoom gzdoom
yay -Sy --noconfirm --sudoloop freedoom gzdoom
else
dialog --backtitle "Linux Game Manager" --msgbox "No supported package managers found. Please install the freedoom and gzdoom packages manually." -1 -1
exit 0