Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
xdg-utils.7563
xdg-mime-fix-one-result.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xdg-mime-fix-one-result.diff of Package xdg-utils.7563
Index: xdg-utils-20140630/scripts/xdg-mime.in =================================================================== --- xdg-utils-20140630.orig/scripts/xdg-mime.in +++ xdg-utils-20140630/scripts/xdg-mime.in @@ -379,7 +379,7 @@ defapp_generic() for x in `echo "$xdg_system_dirs" | sed 's/:/ /g'`; do for prefix in "$XDG_MENU_PREFIX" ""; do DEBUG 2 "Checking $x/applications/${prefix}defaults.list and $x/applications/${prefix}mimeinfo.cache" - trader_result=`grep "$MIME=" $x/applications/${prefix}defaults.list $x/applications/${prefix}mimeinfo.cache 2> /dev/null | cut -d '=' -f 2 | cut -d ';' -f 1` + trader_result=`grep "$MIME=" $x/applications/${prefix}defaults.list $x/applications/${prefix}mimeinfo.cache 2> /dev/null | cut -d '=' -f 2 | cut -d ';' -f 1 | head -n 1` if [ -n "$trader_result" ] ; then echo $trader_result exit_success
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor