From aa0597e28f72283a1be8121a0f023acd9061c5c5 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Fri, 9 Sep 2016 21:46:41 +0200 Subject: [PATCH] games-strategy/freeorion: adjust wrapper script Otherwise sounds may not play. --- ...{freeorion-0.4.5.exheres-0 => freeorion-0.4.5-r1.exheres-0} | 3 +++ 1 file changed, 3 insertions(+) rename packages/games-strategy/freeorion/{freeorion-0.4.5.exheres-0 => freeorion-0.4.5-r1.exheres-0} (98%) diff --git a/packages/games-strategy/freeorion/freeorion-0.4.5.exheres-0 b/packages/games-strategy/freeorion/freeorion-0.4.5-r1.exheres-0 similarity index 98% rename from packages/games-strategy/freeorion/freeorion-0.4.5.exheres-0 rename to packages/games-strategy/freeorion/freeorion-0.4.5-r1.exheres-0 index 37de26e..fa63061 100644 --- a/packages/games-strategy/freeorion/freeorion-0.4.5.exheres-0 +++ b/packages/games-strategy/freeorion/freeorion-0.4.5-r1.exheres-0 @@ -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