summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorAndrew <forkk@forkk.net>2013-10-01 16:13:21 -0500
committerAndrew <forkk@forkk.net>2013-10-01 16:13:21 -0500
commit02a7d147ef79009cc1997f073b7348cbe5085aea (patch)
tree5f52cfa6f6b840cc067a7f69eeac27a83cd4ed4a /package
parent22bdf67bf74b35f6ee4f68d66a9f0ee9f970c043 (diff)
downloadMultiMC-02a7d147ef79009cc1997f073b7348cbe5085aea.tar
MultiMC-02a7d147ef79009cc1997f073b7348cbe5085aea.tar.gz
MultiMC-02a7d147ef79009cc1997f073b7348cbe5085aea.tar.lz
MultiMC-02a7d147ef79009cc1997f073b7348cbe5085aea.tar.xz
MultiMC-02a7d147ef79009cc1997f073b7348cbe5085aea.zip
Add run script to install.
Also renamed "translations_target" to "translations". The old name was dumb and annoying.
Diffstat (limited to 'package')
-rwxr-xr-xpackage/linux/MultiMC8
1 files changed, 5 insertions, 3 deletions
diff --git a/package/linux/MultiMC b/package/linux/MultiMC
index 235d17c5..297304cf 100755
--- a/package/linux/MultiMC
+++ b/package/linux/MultiMC
@@ -4,6 +4,8 @@
MMC_DIR=$(dirname "$0")
cd "${MMC_DIR}"
-export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"./lib"
-export QT_PLUGIN_PATH=$QT_PLUGIN_PATH:"."
-exec ./bin/MultiMC
+export LD_LIBRARY_PATH="${MMC_DIR}/lib":$LD_LIBRARY_PATH
+export QT_PLUGIN_PATH="${MMC_DIR}/plugins"
+export QT_FONTPATH="${MMC_DIR}/fonts"
+exec ${MMC_DIR}/bin/MultiMC -d ${MMC_DIR} $@
+