** Description changed:

  The script /usr/bin/gvfs-info uses two bash features:
  
  1. "==" is used for string comparison instead of "="
  2. "$@:2" is used instead of "shift" and then "$@" to expand all but the 
first argument.
+ 
+ You can see the errors by running "gvfs-info --help".
  
  I have found this bug using xdg-open to open a PDF file from the command
  line. xdg-open executes "gvfs-info --help" to check the environment, but
  this command fails because of the problems described.
  
  The attached patch fixes the problem for me.
  
  $ lsb_release -rd:
  Description:  Ubuntu Artful Aardvark (development branch)
  Release:      17.10
  
  $ apt-cache policy gvfs-bin
  gvfs-bin:
-   Installato: 1.34.1-1ubuntu1
-   Candidato:  1.34.1-1ubuntu1
-   Tabella versione:
-  *** 1.34.1-1ubuntu1 500
-         500 http://it.archive.ubuntu.com/ubuntu artful/main amd64 Packages
-         100 /var/lib/dpkg/status
+   Installato: 1.34.1-1ubuntu1
+   Candidato:  1.34.1-1ubuntu1
+   Tabella versione:
+  *** 1.34.1-1ubuntu1 500
+         500 http://it.archive.ubuntu.com/ubuntu artful/main amd64 Packages
+         100 /var/lib/dpkg/status
  
  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: gvfs-bin 1.34.1-1ubuntu1
  ProcVersionSignature: Ubuntu 4.13.0-12.13-generic 4.13.3
  Uname: Linux 4.13.0-12-generic x86_64
  ApportVersion: 2.20.7-0ubuntu2
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Oct  6 09:45:04 2017
  InstallationDate: Installed on 2017-09-21 (15 days ago)
  InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170919)
  ProcEnviron:
-  TERM=xterm-256color
-  PATH=(custom, no user)
-  XDG_RUNTIME_DIR=<set>
-  LANG=it_IT.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm-256color
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=<set>
+  LANG=it_IT.UTF-8
+  SHELL=/bin/bash
  SourcePackage: gvfs
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in Ubuntu.
https://bugs.launchpad.net/bugs/1721719

Title:
  gvfs-info bashism

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1721719/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to