mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
guix-install.sh: Add a trailing colon to 'INFOPATH'.
Fixes <https://bugs.gnu.org/39984>. Suggested by Adam Porter <adam@alphapapa.net>. * etc/guix-install.sh (sys_create_init_profile): Add a trailing colon to 'INFOPATH'.
This commit is contained in:
parent
4a6ec23a97
commit
3c69701f97
1 changed files with 3 additions and 1 deletions
|
@ -414,7 +414,9 @@ if [ -L $_GUIX_PROFILE ]; then
|
||||||
export PATH="$_GUIX_PROFILE/bin${PATH:+:}$PATH"
|
export PATH="$_GUIX_PROFILE/bin${PATH:+:}$PATH"
|
||||||
# Export INFOPATH so that the updated info pages can be found
|
# Export INFOPATH so that the updated info pages can be found
|
||||||
# and read by both /usr/bin/info and/or $GUIX_PROFILE/bin/info
|
# and read by both /usr/bin/info and/or $GUIX_PROFILE/bin/info
|
||||||
export INFOPATH="$_GUIX_PROFILE/share/info${INFOPATH:+:}$INFOPATH"
|
# When INFOPATH is unset, add a trailing colon so that Emacs
|
||||||
|
# searches 'Info-default-directory-list'.
|
||||||
|
export INFOPATH="$_GUIX_PROFILE/share/info:$INFOPATH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# GUIX_PROFILE: User's default profile
|
# GUIX_PROFILE: User's default profile
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue