Bug#877068: gvfs: version 1.34 breaks xdg-mime query filetype

Michael Biebl biebl at debian.org
Thu Sep 28 11:29:51 UTC 2017


Am 28.09.2017 um 13:27 schrieb Michael Biebl:
> if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then

> Unfortunately there is a bashism in the script above which breaks --help
> ("==" should be replaced by "=").
gvfs-info is apparently not the only tool affected by this:

$ grep "==" /usr/bin/gvfs-*
/usr/bin/gvfs-cat:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
/usr/bin/gvfs-copy:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
/usr/bin/gvfs-info:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
/usr/bin/gvfs-ls:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
/usr/bin/gvfs-mime:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
/usr/bin/gvfs-mkdir:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
/usr/bin/gvfs-monitor-dir:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
/usr/bin/gvfs-monitor-file:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
/usr/bin/gvfs-mount:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
/usr/bin/gvfs-move:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
/usr/bin/gvfs-open:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
/usr/bin/gvfs-rename:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
/usr/bin/gvfs-rm:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
/usr/bin/gvfs-save:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
/usr/bin/gvfs-set-attribute:if [ "$1" == "--help" ] || [ "$1" == "-h" ];
then
/usr/bin/gvfs-trash:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
/usr/bin/gvfs-tree:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then

Those need to be fixed as well.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20170928/e9423f5c/attachment.sig>


More information about the pkg-gnome-maintainers mailing list