[hook] name = "update-desktop-database" description = "Update desktop file MIME type cache" [when] phase = "post" operation = ["install", "update", "remove"] paths = ["usr/share/applications/*.desktop"] [exec] command = "/usr/bin/update-desktop-database --quiet" needs_paths = false