diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-11-02 14:25:15 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-11-02 14:59:34 +0100 |
commit | 76ea70bd70aeb76570445c11cea2f98139192b54 (patch) | |
tree | 2b1c77e370070fbfd6ce8ea94920ced9ba780998 /gnu | |
parent | e1bd62eb5ce0f2410b2607f157989588791b43e0 (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 'gnu')
0 files changed, 0 insertions, 0 deletions