Search
j0ke.net Open Build Service
>
Projects
>
home:jg
:
multimedia
>
xdg-utils
> xdg-utils-1.0-mimeopen.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File xdg-utils-1.0-mimeopen.patch of Package xdg-utils
--- xdg-utils-1.0/scripts/xdg-open.mimeopen 2006-10-17 22:55:02.000000000 +0200 +++ xdg-utils-1.0/scripts/xdg-open 2006-10-17 22:55:15.000000000 +0200 @@ -360,6 +360,15 @@ open_generic() { + if mimeopen -v 2>/dev/null 1>&2; then + mimeopen -n "$1" + if [ $? -eq 0 ]; then + exit_success + else + exit_failure_operation_failed + fi + fi + IFS=":" for browser in $BROWSER; do if [ x"$browser" != x"" ]; then