summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-11-02 14:25:15 +0100
committerLudovic Courtès <ludo@gnu.org>2020-11-02 14:59:34 +0100
commit76ea70bd70aeb76570445c11cea2f98139192b54 (patch)
tree2b1c77e370070fbfd6ce8ea94920ced9ba780998 /m4
parente1bd62eb5ce0f2410b2607f157989588791b43e0 (diff)
profiles: Add fast path for 'xdg-mime-database' hook.
Partly fixes <https://bugs.gnu.org/44053>. Reported by Joshua Branson <jbranso@dismail.de> and Maxim Cournoyer <maxim.cournoyer@gmail.com>. * guix/profiles.scm (xdg-mime-database): When PKGDIRS contains only one element, symlink directly to it. Invoke 'update-mime-database' only when PKGDIRS contains two or more elements, which is less frequent.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions