git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[fix included] found bug package in xdg-utils


found bug in package in xdg-utils:

apt-cache policy xdg-utils
xdg-utils:
  Installiert:           1.1.2-1ubuntu2.2
  Installationskandidat: 1.1.2-1ubuntu2.2
  Versionstabelle:
 *** 1.1.2-1ubuntu2.2 500
        500 http://de.archive.ubuntu.com/ubuntu bionic-updates/main
amd64 Packages
        500 http://de.archive.ubuntu.com/ubuntu bionic-updates/main i386
Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64
Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main i386
Packages
        100 /var/lib/dpkg/status
     1.1.2-1ubuntu2 500
        500 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        500 http://de.archive.ubuntu.com/ubuntu bionic/main i386 Packages


--> procedure:
root:/xdg-mime query default inode/directory
/usr/bin/xdg-mime: 946: local: icewm-: bad variable name

Line 946 of  /usr/bin/xdg-mime shows:
local prefix=$(echo "$desktop-" | tr '[:upper:]' '[:lower:]')

the "-" at the end of $desktop is wrong.

If you take it away to get
local prefix=$(echo "$desktop" | tr '[:upper:]' '[:lower:]')

Everything works fine again:
root:/xdg-mime query default inode/directory
nautilus-folder-handler.desktop





--
Mit freundlichen Grü�en

i. A. Michael Hass
Systemadministrator

*critical care *
KirchhoffstraÃ?e 1-5
24568 Kaltenkirchen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20180525/1f09c07a/attachment-0001.html>