Added slapt-get for Slackware based installs of freedoom.

This commit is contained in:
Storm Dragon 2022-10-27 15:58:38 -04:00
parent 309edacf31
commit 24ef05916a

View File

@ -517,6 +517,10 @@ case "${game}" in
--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 --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 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
su
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