Commit a5ec775d authored by Rex Dieter's avatar Rex Dieter
Browse files

xdg-mime: ensure check_mimeapps_list returns only primary item (BR44163)

parent 9dac27a4
=== xdg-utils 1.1.2 (unreleased) === === 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> 2016-05-05 Rex Dieter <rdieter@fedoraproject.org>
* xdg-mime: xdg-mime does not write the file it reads in a query (BR95051) * xdg-mime: xdg-mime does not write the file it reads in a query (BR95051)
......
...@@ -370,7 +370,7 @@ check_mimeapps_list() ...@@ -370,7 +370,7 @@ check_mimeapps_list()
found=1 found=1
} }
} }
' "$mimeapps_list") ' "$mimeapps_list" | cut -d ';' -f 1)
if [ -n "$result" ]; then if [ -n "$result" ]; then
echo "$result" echo "$result"
exit_success exit_success
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment