summarylogtreecommitdiffstats
path: root/icecat-launcher.sh
diff options
context:
space:
mode:
Diffstat (limited to 'icecat-launcher.sh')
-rw-r--r--icecat-launcher.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/icecat-launcher.sh b/icecat-launcher.sh
new file mode 100644
index 000000000000..838f5f416542
--- /dev/null
+++ b/icecat-launcher.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+ [ "${ICECATDIR}" == "" ] && export ICECATDIR="/usr/lib/icecat"
+ export LD_LIBRARY_PATH=${ICECATDIR}:${LD_LIBRARY_PATH}
+ export MOZILLA_FIVE_HOME=${ICECATDIR}
+ export MOZ_PLUGIN_PATH=${ICECATDIR}/plugins/
+ export MOZ_DISABLE_GNOME=1
+ [ "${GNOME_DESKTOP_SESSION_ID}" != "" ] && export MOZ_DISABLE_GNOME=0
+ export PREVIOUSPATH=${PATH}
+ export PATH=${ICECATDIR}:${PATH}
+ cd ${ICECATDIR}
+ ${ICECATDIR}/icecat $@