2000-08-01 09:05:58 +00:00
|
|
|
--- src/galeon.orig Tue Aug 1 11:22:03 2000
|
|
|
|
+++ src/galeon Tue Aug 1 11:22:14 2000
|
|
|
|
@@ -1,14 +1,14 @@
|
|
|
|
-#!/bin/bash
|
|
|
|
+#!/bin/sh
|
|
|
|
|
|
|
|
-dist_bin=`dirname $0`
|
|
|
|
+dist_bin=%%PREFIX%%/bin
|
|
|
|
|
|
|
|
if test -n "$MOZILLA_FIVE_HOME"; then
|
|
|
|
export LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH
|
|
|
|
exec $dist_bin/galeon-bin $@
|
|
|
|
-elif [ -f /usr/local/mozilla/libgtkembedmoz.so ]; then
|
|
|
|
- MOZILLA_HOME=/usr/local/mozilla
|
|
|
|
-elif [ -f /usr/lib/mozilla/libgtkembedmoz.so ]; then
|
|
|
|
- MOZILLA_HOME=/usr/lib/mozilla
|
2000-08-17 09:49:02 +00:00
|
|
|
+elif [ -f %%LOCALBASE%%/lib/%%MOZILLA%%/libgtkembedmoz.so ]; then
|
|
|
|
+ MOZILLA_HOME=%%LOCALBASE%%/lib/%%MOZILLA%%
|
|
|
|
+elif [ -f %%X11BASE%%/lib/%%MOZILLA%%/libgtkembedmoz.so ]; then
|
|
|
|
+ MOZILLA_HOME=%%X11BASE%%/lib/%%MOZILLA%%
|
2000-08-01 09:05:58 +00:00
|
|
|
else
|
|
|
|
echo "Cannot find mozilla installation directory. Please set MOZILLA_FIVE_HOME to your mozilla directory"
|
|
|
|
exit
|