games-strategy/freeorion: adjust wrapper script

Otherwise sounds may not play.
This commit is contained in:
Julian Ospald 2016-09-09 21:46:41 +02:00
parent 3b09863a55
commit aa0597e28f
1 changed files with 3 additions and 0 deletions

View File

@ -80,6 +80,9 @@ if [ "\${LD_LIBRARY_PATH+set}" = "set" ] ; then
else
export LD_LIBRARY_PATH="/usr/$(exhost --target)/lib/freeorion"
fi
cd /usr/share/freeorion
exec /usr/$(exhost --target)/bin/${PN}.bin --resource-dir /usr/share/freeorion/default "\$@"
EOF