summaryrefslogtreecommitdiffstats
path: root/games/etlegacy-from-source/files/openurl.sh
diff options
context:
space:
mode:
author Matteo Bernardini2019-03-30 08:53:10 +0100
committer Matteo Bernardini2019-03-30 08:53:10 +0100
commit37f81333f74286adfe76ea53c2b701b0117e0776 (patch)
tree2a09dae8766cfae8cb4d655a42477e0d6a2a0bf8 /games/etlegacy-from-source/files/openurl.sh
parent158e3ce0a80a1028c48af5d639f5fde39c94af3c (diff)
downloadslackbuilds-4a3f18b3f12b8b94deed6a54badfca447a48e78d.tar.gz
20190330.1 global branch merge.current-20190330.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