guix/etc
Alexander Krotov 7ff169d04f
guix-install.sh: Correctly treat empty or unset $XDG_DATA_DIRS
If $XDG_DATA_DIRS is unset, default value of "/usr/local/share:/usr/share"
is used according to XDG Base Directory Specification. However,
/etc/profile.d/guix.sh treats this value as empty list when appending its
own directory, so after installing Guix on the system, launchers such
as Rofi stop searching for .desktop files in /usr/share/applications/
and can't launch applications other than those installed with Guix.

This patch fixes the bug in generated /etc/profile.d/guix.sh

* etc/guix-install.sh (sys_create_init_profile): Use default value of
  /usr/local/share:/usr/share/ before appending if $XDG_DATA_DIRS is not
  set.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-01-26 23:21:39 +01:00
..
completion guix build, daemon: Rename "--no-build-hook" to "--no-offload". 2019-11-26 00:16:36 +01:00
git
snippets
substitutes
guix-daemon.cil.in
guix-daemon.conf.in
guix-daemon.service.in
guix-install.sh guix-install.sh: Correctly treat empty or unset $XDG_DATA_DIRS 2020-01-26 23:21:39 +01:00
guix-publish.conf.in
guix-publish.service.in
indent-code.el.in
news.scm news: Add ‘nl’ translation. 2020-01-24 18:19:20 +01:00