diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-06-14 11:47:49 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-06-14 11:47:49 -0400 |
commit | e5c040b23c9900091e913cfc3ad29747a6b7cfbe (patch) | |
tree | d9a195e092e75bad9dfbdcb38852f1c03982256e /pts-core/scripts | |
parent | 323fb80d6496a2e30741998b2aa5e4a2b91239d4 (diff) | |
download | phoronix-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-x | pts-core/scripts/launch-browser.sh | 5 |
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 ] |