Fixed a bug in the Slack installer code.

This commit is contained in:
Storm Dragon 2022-10-27 16:07:28 -04:00
parent 24ef05916a
commit 33439329cc

View File

@ -518,9 +518,7 @@ case "${game}" in
if command -v yay &> /dev/null ; then if command -v yay &> /dev/null ; then
yay -Sy --noconfirm --sudoloop freedoom gzdoom yay -Sy --noconfirm --sudoloop freedoom gzdoom
elif command -v slapt-get &> /dev/null ; then elif command -v slapt-get &> /dev/null ; then
su su -c slapt-get -i freedoom gzdoom
slapt-get -i freedoom gzdoom
exit
else else
dialog --backtitle "Linux Game Manager" --msgbox "No supported package managers found. Please install the freedoom and gzdoom packages manually." -1 -1 dialog --backtitle "Linux Game Manager" --msgbox "No supported package managers found. Please install the freedoom and gzdoom packages manually." -1 -1
exit 0 exit 0