summaryrefslogtreecommitdiff
path: root/games/etlegacy/files/openurl.sh
diff options
context:
space:
mode:
Diffstat (limited to 'games/etlegacy/files/openurl.sh')
-rw-r--r--games/etlegacy/files/openurl.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/games/etlegacy/files/openurl.sh b/games/etlegacy/files/openurl.sh
new file mode 100644
index 0000000000..274f12d08d
--- /dev/null
+++ b/games/etlegacy/files/openurl.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+# use this script to customize the way the engine should open URLs
+
+for test_browser in firefox seamonkey opera
+do
+ browser=`which $test_browser`
+ if [ "x$browser" != "x" ]
+ then
+ $browser -remote "openURL($1,new-window)" || $browser "$1"
+ exit
+ fi
+done
+# xterm -e lynx "$1"
+
+exit 0