Am 28.09.2017 um 12:54 schrieb definetti: > Package: gvfs > Version: 1.30.4-1+b1 > Severity: critical > Justification: breaks unrelated software > > Dear Maintainer, > > upon upgrading to gvfs 1.34.0-2, commands like xdg-mime query filetype, that > depend on it, no longer work. This causes xdg-open to be unable to associate > the right applications to each mimetype. > Reverting to gvfs 1.30 solves the issue
gvfs-info has been deprecated:
#!/bin/sh
replacement="gio info"
help="gio help info"
>&2 echo "This tool has been deprecated, use '$replacement' instead."
>&2 echo "See '$help' for more info."
>&2 echo
if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
exec $help "$@:2"
else
exec $replacement "$@"
fi
xdg-mime calls it like this:
if gvfs-info --help 2>/dev/null 1>&2; then
Unfortunately there is a bashism in the script above which breaks --help
("==" should be replaced by "=").
There are two issues to fix here: we need to fix the bashism in gvfs and
we should update xdg-utils to use gio directly.
Can you confirm that replacing "==" with "=" in /usr/bin/gvfs-info fixes
xdg-mime?
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature

