summaryrefslogtreecommitdiffstats
path: root/x11/yelp/files/gnome-help.sh
diff options
context:
space:
mode:
Diffstat (limited to 'x11/yelp/files/gnome-help.sh')
-rw-r--r--x11/yelp/files/gnome-help.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/x11/yelp/files/gnome-help.sh b/x11/yelp/files/gnome-help.sh
new file mode 100644
index 000000000..0951d0096
--- /dev/null
+++ b/x11/yelp/files/gnome-help.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+dist_bin=`dirname $0`
+
+MOZILLA_HOME=%%X11BASE%%/lib/%%MOZILLA%%
+
+if [ -n "$LD_LIBRARY_PATH" ]; then
+ LD_LIBRARY_PATH=$MOZILLA_HOME:$LD_LIBRARY_PATH
+else
+ LD_LIBRARY_PATH=$MOZILLA_HOME
+fi
+export LD_LIBRARY_PATH
+
+MOZILLA_FIVE_HOME=$MOZILLA_HOME
+export MOZILLA_FIVE_HOME
+
+exec "%%PREFIX%%/bin/gnome-help-bin" "$@"