diff options
Diffstat (limited to 'www/epiphany/files/epiphany')
-rw-r--r-- | www/epiphany/files/epiphany | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/www/epiphany/files/epiphany b/www/epiphany/files/epiphany new file mode 100644 index 000000000000..504fd02402ce --- /dev/null +++ b/www/epiphany/files/epiphany @@ -0,0 +1,27 @@ +#!/bin/sh + +dist_bin=`dirname $0` + +MOZILLA_HOME=%%X11BASE%%/lib/%%MOZILLA%% + +if [ -z "$MOZ_PLUGIN_PATH" ]; then + MOZ_PLUGIN_PATH=%%PREFIX%%/lib/browser_plugins + export MOZ_PLUGIN_PATH +fi + +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 + +if [ -f %%LOCALBASE%%/lib/libflashplayer.so.1 ]; then + LD_PRELOAD=%%LOCALBASE%%/lib/libflashplayer.so.1 + export LD_PRELOAD +fi + +exec "%%PREFIX%%/bin/epiphany-bin" "$@" |