summaryrefslogtreecommitdiffstats
path: root/pts-core/scripts
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-06-14 11:47:49 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-06-14 11:47:49 -0400
commite5c040b23c9900091e913cfc3ad29747a6b7cfbe (patch)
treed9a195e092e75bad9dfbdcb38852f1c03982256e /pts-core/scripts
parent323fb80d6496a2e30741998b2aa5e4a2b91239d4 (diff)
downloadphoronix-test-suite-upstream-e5c040b23c9900091e913cfc3ad29747a6b7cfbe.tar.gz
phoronix-test-suite-upstream-e5c040b23c9900091e913cfc3ad29747a6b7cfbe.tar.xz
phoronix-test-suite-upstream-e5c040b23c9900091e913cfc3ad29747a6b7cfbe.zip
Add xdg-open to launch-browser.sh and try that first
Diffstat (limited to 'pts-core/scripts')
-rwxr-xr-xpts-core/scripts/launch-browser.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/pts-core/scripts/launch-browser.sh b/pts-core/scripts/launch-browser.sh
index ab88b08..a2b9532 100755
--- a/pts-core/scripts/launch-browser.sh
+++ b/pts-core/scripts/launch-browser.sh
@@ -1,6 +1,9 @@
#!/bin/sh
-if [ pts`which epiphany` != pts ]
+if [ pts`which xdg-open` != pts ]
+then
+ xdg-open "$1"
+elif [ pts`which epiphany` != pts ]
then
epiphany "$1"
elif [ pts`which firefox` != pts ]