[hook] name = "update-mime-database" description = "Update the MIME type database" [when] phase = "post" operation = ["install", "update", "remove"] paths = ["usr/share/mime/packages/*.xml"] [exec] command = "PKGSYSTEM_ENABLE_FSYNC=0 update-mime-database usr/share/mime"