mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-23 04:12:39 +00:00
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.
This commit is contained in:
parent
ce1d5406d5
commit
466952b320
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/sh
|
#!/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
|
if test -e "$SETUP_INSTALLPATH"/ioquake3.desktop.in; then
|
||||||
xdg_desktop_menu=`which xdg-desktop-menu 2>/dev/null`
|
xdg_desktop_menu=`which xdg-desktop-menu 2>/dev/null`
|
||||||
if test "x$xdg_desktop_menu" = x; then
|
if test "x$xdg_desktop_menu" = x; then
|
||||||
|
|
Loading…
Reference in a new issue