diff options
author | Rex Dieter <rdieter@math.unl.edu> | 2016-05-20 12:24:11 -0500 |
---|---|---|
committer | Rex Dieter <rdieter@math.unl.edu> | 2016-05-20 12:24:11 -0500 |
commit | a5ec775d7631bf32760acc1c1b54a4905cfdec89 (patch) | |
tree | 6ffe1ff0b7b258839e6fd52fc4710b174193180a | |
parent | 9dac27a442b0e44b3f235798b77715e26169500f (diff) |
xdg-mime: ensure check_mimeapps_list returns only primary item (BR44163)
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | scripts/xdg-mime.in | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,8 @@ === xdg-utils 1.1.2 (unreleased) === +2016-05-20 Rex Dieter <rdieter@fedoraproject.org> + * xdg-mime: ensure check_mimeapps_list returns only primary item (BR44163) + 2016-05-05 Rex Dieter <rdieter@fedoraproject.org> * xdg-mime: xdg-mime does not write the file it reads in a query (BR95051) diff --git a/scripts/xdg-mime.in b/scripts/xdg-mime.in index 61b12f1..e85fd62 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 |