Extend the file-magic database in a package
Hello, is there a way to extend the database of file-magic when installing a RPM package. Any example package/spec doing that? I tried Google, but that's not the easiest search term and thus I found nothing. For Freedom in Peace -- http://www.dstoecker.eu/ (PGP key available)
To register a new mime type globally, there's this: https://help.gnome.org/admin/system-admin-guide/stable/mime-types-custom.htm... Also, see my notes on mimeapps.list: https://github.com/doccaz/linux-kb/blob/main/gnome/mimetypes.txt [cid:435277c6-191f-40d2-893d-ca464487fb0f] Erico Mendonca Premium Services SUSE ________________________________ From: Dirk Stöcker <opensuse@dstoecker.de> Sent: Wednesday, July 19, 2023 1:06 PM To: opensuse-buildservice@opensuse.org <opensuse-buildservice@opensuse.org> Subject: Extend the file-magic database in a package Hello, is there a way to extend the database of file-magic when installing a RPM package. Any example package/spec doing that? I tried Google, but that's not the easiest search term and thus I found nothing. For Freedom in Peace -- http://www.dstoecker.eu/ (PGP key available)
On Mittwoch, 19. Juli 2023 19:19:37 CEST Erico Mendonca wrote:
To register a new mime type globally, there's this: https://help.gnome.org/admin/system-admin-guide/stable/mime-types-custom.ht ml.en
Also, see my notes on mimeapps.list: https://github.com/doccaz/linux-kb/blob/main/gnome/mimetypes.txt
That is freedesktops shared-mime-info, not file-magic ... Regards, Stefan -- Stefan Brüns / Bergstraße 21 / 52062 Aachen phone: +49 241 53809034 mobile: +49 151 50412019
participants (3)
-
Dirk Stöcker
-
Erico Mendonca
-
Stefan Brüns