Declare the Linux Atlas MIME type as a ZIP subclass so shared-mime-info resolves the weighted .atlas glob to the semantic type instead of generic application/zip.
- commit
- 5ba9814ea6b7adf9e54d85b2bb96154dc7307b06
- parent
- 67d2a2eefcf260020d070d9f835d71e28d7cebe1
- author
- Dami <dami.etoile@gmail.com>
| M | packaging/ | 1 | + |
| M | tests/ | 2 | ++ |
@@ -38,6 +38,8 @@ class NativePackagingTest(unittest.TestCase):
3838 self.assertEqual(mime_type.attrib["type"], MIME)3939 glob = mime_type.find("mime:glob", namespace)4040 self.assertEqual(glob.attrib["pattern"], f"*.{EXTENSION}")41+ subclass = mime_type.find("mime:sub-class-of", namespace)42+ self.assertEqual(subclass.attrib["type"], "application/zip")4143 4244 control = (ROOT / "packaging/linux/control").read_text()4345 self.assertIn("Package: atlas-desktop", control)