netradiant-custom/setup/openurl.sh
rpolzer 107765f0e4 initial
git-svn-id: svn://svn.icculus.org/netradiant/trunk@1 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-09-13 18:28:57 +00:00

15 lines
287 B
Bash

#!/bin/sh
# use this script to customize the way the engine should open URLs
for test_browser in mozilla netscape
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"