summaryrefslogtreecommitdiff
path: root/games/etlegacy/files/openurl.sh
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2014-11-15 15:52:37 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit153516fb0329ca254e9d1961c9aaf4119d1dd026 (patch)
tree212d3e4426b0f4dd7ed0724783a3ce56b090c96c /games/etlegacy/files/openurl.sh
parente995ee971111346541685856438f17be7ddb2253 (diff)
downloadslackbuilds-153516fb0329ca254e9d1961c9aaf4119d1dd026.tar.gz
games/etlegacy: Added (collaborative FPS).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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