summaryrefslogtreecommitdiffstats
path: root/games/etlegacy-from-source/files/openurl.sh
diff options
context:
space:
mode:
author Matteo Bernardini2018-09-16 10:01:39 +0200
committer Matteo Bernardini2018-09-16 10:01:39 +0200
commitca287d36b4725ff2cf67fa44cb810df5fec58360 (patch)
treea2d7b1a2c920909c3a2331169d06edb2e4b65d7e /games/etlegacy-from-source/files/openurl.sh
parent24e3944b74fb96d36bf7eb125a63330ce137a3aa (diff)
downloadslackbuilds-ca287d36b4725ff2cf67fa44cb810df5fec58360.tar.gz
20180916.1 global branch merge.current-20180916.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/etlegacy-from-source/files/openurl.sh')
-rw-r--r--games/etlegacy-from-source/files/openurl.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/games/etlegacy-from-source/files/openurl.sh b/games/etlegacy-from-source/files/openurl.sh
new file mode 100644
index 0000000000..274f12d08d
--- /dev/null
+++ b/games/etlegacy-from-source/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