Files
libreoffice/shell/source/unix/misc/gnome-open-url.sh
Phillip Sz 3f6bfb4c0d remove exit 0 at the end of a shell script
Change-Id: I6f9b6aa7abba6eadf4db93506bdd9a822afdf2fb
Reviewed-on: https://gerrit.libreoffice.org/14884
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-03-25 06:50:53 +00:00

5 lines
188 B
Bash
Executable File

#!/bin/sh
# use xdg-open or gnome-open if available, falling back to our own open-url
xdg-open "$1" 2>/dev/null || gnome-open "$1" 2>/dev/null || `dirname "$0"`/open-url "$1" 2>/dev/null