$NetBSD: patch-ae,v 1.1 2002/05/28 23:31:07 taya Exp $ diff -ru ../Orig/skipstone-0.8.2/src/skipstone.in ./src/skipstone.in --- ../Orig/skipstone-0.8.2/src/skipstone.in Sat May 11 05:20:45 2002 +++ ./src/skipstone.in Tue May 28 23:59:50 2002 @@ -1,29 +1,3 @@ #!/bin/sh -# allow MOZILLA_FIVE_HOME to override defaults/install path -if test -n "$MOZILLA_FIVE_HOME"; then - LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH - export LD_LIBRARY_PATH -elif [ -f /usr/lib/libgtkembedmoz.so ]; then - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/mozilla - export MOZILLA_FIVE_HOME=/usr/lib/mozilla -elif [ -f @MOZILLA_LIB_HOME@/libgtkembedmoz.so ]; then - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:@MOZILLA_LIB_HOME@ - export MOZILLA_FIVE_HOME=@MOZILLA_LIB_HOME@ -elif [ -f /usr/local/lib/mozilla/libgtkembedmoz.so ]; then - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/mozilla - export MOZILLA_FIVE_HOME=/usr/local/lib/mozilla -elif [ -f /opt/mozilla/libgtkembedmoz.so ]; then - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/mozilla - export MOZILLA_FIVE_HOME=/opt/mozilla - -else - -echo "Please set your MOZILLA_FIVE_HOME and LD_LIBRARY_PATH manually as I could not find them" - exit -fi - -if [ -f ./skipstone-bin ]; then - exec ./skipstone-bin $@ -else - exec skipstone-bin $@ -fi +export MOZILLA_FIVE_HOME=@MOZILLA_LIB_HOME@ +exec @prefix@/bin/skipstone-bin $@