diff options
Diffstat (limited to 'shell/source/unix/misc/gnome-open-url.sh')
-rw-r--r-- | shell/source/unix/misc/gnome-open-url.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/source/unix/misc/gnome-open-url.sh b/shell/source/unix/misc/gnome-open-url.sh new file mode 100644 index 000000000000..ab730d169a49 --- /dev/null +++ b/shell/source/unix/misc/gnome-open-url.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +# use xdg-open or gnome-open if available +xdg-open "$1" 2>/dev/null || gnome-open "$1" 2>/dev/null || "$0.bin" $1 + +exit 0 |