]> git.pld-linux.org Git - packages/seamonkey.git/blame - seamonkey.sh
- updated to 2.53.18
[packages/seamonkey.git] / seamonkey.sh
CommitLineData
bc8e0ed5
JR
1#!/bin/sh
2# based on script by (c) vip at linux.pl, wolf at pld-linux.org
3
4LIBDIR="@LIBDIR@/seamonkey"
5
6SEAMONKEY="$LIBDIR/seamonkey"
7PWD=${PWD:-$(pwd)}
8
ceb753a6
JB
9if [ -z "$1" ]; then
10 exec $SEAMONKEY
bc8e0ed5 11else
ceb753a6
JB
12 if [ -f "$PWD/$1" ]; then
13 URL="file://$PWD/$1"
bc8e0ed5 14 else
ceb753a6
JB
15 URL="$1"
16 fi
17 if ! grep -q browser.tabs.opentabfor.middleclick.*false ~/.mozilla/seamonkey/*/prefs.js; then
18 exec $SEAMONKEY -new-tab "$URL"
19 else
20 exec $SEAMONKEY -new-window "$URL"
bc8e0ed5
JR
21 fi
22fi
This page took 0.151805 seconds and 4 git commands to generate.