3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/desktop-file-utils/setup-hook.sh
worldofpeace 69be72a64a 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.
2019-02-09 01:29:53 +00:00

7 lines
157 B
Bash

# Remove mimeinfo cache
mimeinfoPreFixupPhase() {
rm -f $out/share/applications/mimeinfo.cache
}
preFixupPhases="$preFixupPhases mimeinfoPreFixupPhase"