From 33439329cc8d304bb7935178a4d033a725df13ac Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 27 Oct 2022 16:07:28 -0400 Subject: [PATCH] Fixed a bug in the Slack installer code. --- linux-game-manager.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/linux-game-manager.sh b/linux-game-manager.sh index d449b2f..bad0017 100755 --- a/linux-game-manager.sh +++ b/linux-game-manager.sh @@ -518,9 +518,7 @@ case "${game}" in if command -v yay &> /dev/null ; then yay -Sy --noconfirm --sudoloop freedoom gzdoom elif command -v slapt-get &> /dev/null ; then - su - slapt-get -i freedoom gzdoom - exit + su -c slapt-get -i 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