[Portland-bugs] [Bug 44163] xdg-open fails on encountering a list for x-scheme-handler

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri May 20 17:14:20 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=44163

--- Comment #8 from Rex Dieter <rdieter at math.unl.edu> ---
here's the patch I'm currently testing (with good results so far):

diff --git a/scripts/xdg-mime.in b/scripts/xdg-mime.in
index 63b8a82..c60f220 100644
--- a/scripts/xdg-mime.in
+++ b/scripts/xdg-mime.in
@@ -370,7 +370,7 @@ check_mimeapps_list()
             found=1
         }
     }
-' "$mimeapps_list")
+' "$mimeapps_list" | cut -d ';' -f 1)
             if [ -n "$result" ]; then
                 echo "$result"
                 exit_success

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/portland-bugs/attachments/20160520/038a587b/attachment.html>


More information about the Portland-bugs mailing list