]> git.pld-linux.org Git - packages/seamonkey.git/blob - seamonkey.sh
- fix building with rust 1.54, updated files
[packages/seamonkey.git] / seamonkey.sh
1 #!/bin/sh
2 # based on script by (c) vip at linux.pl, wolf at pld-linux.org
3
4 LIBDIR="@LIBDIR@/seamonkey"
5
6 SEAMONKEY="$LIBDIR/seamonkey"
7 PWD=${PWD:-$(pwd)}
8
9 if [ -z "$1" ]; then
10         exec $SEAMONKEY
11 else
12         if [ -f "$PWD/$1" ]; then
13                 URL="file://$PWD/$1"
14         else
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"
21         fi
22 fi
This page took 0.031664 seconds and 3 git commands to generate.