mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-12 13:12:07 +00:00
466952b320
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.
10 lines
361 B
Bash
Executable file
10 lines
361 B
Bash
Executable file
#!/bin/sh
|
|
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
|
|
xdg_desktop_menu=./xdg-desktop-menu
|
|
fi
|
|
$xdg_desktop_menu uninstall --novendor ioquake3.desktop
|
|
rm ioquake3.desktop
|
|
fi
|