Hi, first of all, the behaviour of update-mime-database is correct: it deletes files in *generated* directories.
Yes, the various application, audio, text, subdirectories under /usr/share/mime are business of update-mime-database, where it places the XML mimetypes generated from the XML definitions in /usr/share/mime/packages. It is exactly in this directory where applications should install XML definitions of mime types to have them registered in the XDG mime type system. Installing stuff directly to e.g. /usr/share/mime/text is like installing to, say, /var/cache (i.e., you shouldn't). Furthermore, qgo is installing wrong things, and I will send the proper explanation and fix to #749582. This is not a bug in shared-mime-info, hence closing. -- Pino Toscano -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org