source: trunk/dports/gnome/epiphany/files/epiphany @ 10328

Last change on this file since 10328 was 10328, checked in by olegb, 15 years ago

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
update to 1.4.7 (use new mozilla) + correct manpage location

  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 970 bytes
Line 
1#!/bin/sh
2
3dist_bin=`dirname $0`
4
5MOZILLA_HOME=/opt/local/lib/mozilla-1.7.5
6
7if [ -z "$MOZ_PLUGIN_PATH" ]; then
8    MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins:/usr/libexec/plugins/mozilla
9    export MOZ_PLUGIN_PATH
10fi
11
12# Migration
13if [ ! -d $HOME/.gnome2/epiphany/mozilla/epiphany -a -d $HOME/.galeon/mozilla/galeon ]; then
14    mkdir -p $HOME/.gnome2/epiphany/mozilla/epiphany && \
15        cp $HOME/.galeon/mozilla/galeon/*.s \
16        $HOME/.galeon/mozilla/galeon/*.w \
17        $HOME/.galeon/mozilla/galeon/cookies.text \
18        $HOME/.galeon/mozilla/galeon/cookperm.txt \
19        $HOME/.galeon/mozilla/galeon/prefs.js \
20        $HOME/.gnome2/epiphany/mozilla/epiphany/ \
21        > /dev/null 2>&1 \
22        || :
23fi
24
25if [ -n "$LD_LIBRARY_PATH" ]; then
26  LD_LIBRARY_PATH=$MOZILLA_HOME:$LD_LIBRARY_PATH
27else
28  LD_LIBRARY_PATH=$MOZILLA_HOME
29fi
30export DYLD_FALLBACK_LIBRARY_PATH=$DYLD_FALLBACK_LIBRARY_PATH:/opt/local/lib/mozilla-1.7.5/
31
32MOZILLA_FIVE_HOME=$MOZILLA_HOME
33export MOZILLA_FIVE_HOME
34
35exec "$dist_bin/epiphany-bin" "$@"
Note: See TracBrowser for help on using the repository browser.