From 74dfc324c404edc4aa603b04c35f0af19fa6581c Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Mon, 6 Feb 2017 14:41:41 -0800 Subject: [PATCH] xdg-open: fix copy-paste typo This was introduced in 0d6eebb27c562e8644ccf616ebdbddf82d0d2dd8 and prevents the script from running altogether. https://bugs.freedesktop.org/show_bug.cgi?id=99699 --- scripts/xdg-open.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/xdg-open.in b/scripts/xdg-open.in index c8d7f93..7befa26 100644 --- a/scripts/xdg-open.in +++ b/scripts/xdg-open.in @@ -201,7 +201,7 @@ open_xfce() { if exo-open --help 2>/dev/null 1>&2; then exo-open "$1" - if gio help open 2>/dev/null 1>&2; then + elif gio help open 2>/dev/null 1>&2; then gio open "$1" elif gvfs-open --help 2>/dev/null 1>&2; then gvfs-open "$1" -- 2.1.4