From 466952b3205ffa99e8a660c6ca154d9bbecde3c5 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Sun, 3 Jun 2018 14:22:30 -0500 Subject: [PATCH] Fix Linux uninstaller requiring Bash Linux loki-setup uninstaller is failing on distros that have /bin/sh linked to Dash instead of Bash. Use standard shell method for redirecting stdout and stderr instead of a Bash specific method. --- misc/setup/preuninstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/setup/preuninstall.sh b/misc/setup/preuninstall.sh index e6a413d2..22e40bd6 100755 --- a/misc/setup/preuninstall.sh +++ b/misc/setup/preuninstall.sh @@ -1,5 +1,5 @@ #!/bin/sh -rmdir --ignore-fail-on-non-empty demoq3 missionpack >& /dev/null +rmdir --ignore-fail-on-non-empty demoq3 missionpack 2>&1 >/dev/null if test -e "$SETUP_INSTALLPATH"/ioquake3.desktop.in; then xdg_desktop_menu=`which xdg-desktop-menu 2>/dev/null` if test "x$xdg_desktop_menu" = x; then