Forwarded: http://trac.wildfiregames.com/ticket/1424
Bug-Debian: https://bugs.debian.org/679033
Bug-Ubuntu: https://bugs.launchpad.net/bugs/
1380737
Last-Update: 2014-10-13
Modify launcher script to execute /usr/games/pyrogenesis if /usr/games is
not in the user's $PATH.
Gbp-Pq: Name fix-bindir.patch
pyrogenesis=$(which pyrogenesis 2> /dev/null)
if [ -x "$pyrogenesis" ] ; then
"$pyrogenesis" "$@"
+elif [ -x /usr/games/pyrogenesis ] ; then
+ # Fallback in case /usr/games is not in $PATH; see #679033 and LP: #1380737
+ /usr/games/pyrogenesis "$@"
else
echo "Error: pyrogenesis not found in ($PATH)"
exit 1