Add dnf package manager to Freedoom installer.

This commit is contained in:
Storm Dragon 2022-11-05 15:30:12 -04:00
parent f196d9240c
commit a5cbb86897

View File

@ -519,6 +519,9 @@ case "${game}" in
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 -c 'slapt-get -i freedoom gzdoom' su -c 'slapt-get -i freedoom gzdoom'
elif command -v dnf &> /dev/null ; then
sudo dnf copr enable nalika/gzdoom
sudo dnf -q -y install freedoom gzdoom
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