desktop-files-utils: add setupHook to remove mimeinfo.cache

Post-Installation scripts are running `update-desktop-database -q`
creating these files which obviously results in a lot of collisions.

Much better solution than eventually noticing their existence and
removing them in postInstall.
This commit is contained in:
worldofpeace
2019-02-08 19:26:54 -05:00
parent ec076f77cd
commit 69be72a64a
4 changed files with 8 additions and 8 deletions

View File

@@ -46,10 +46,6 @@ in stdenv.mkDerivation rec {
"-Dsystemdunitdir=lib/systemd/system"
];
postInstall = ''
rm $out/share/applications/mimeinfo.cache
'';
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;