scripts: misc: guix.sh: fix forgetten tab.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
This commit is contained in:
Denis 'GNUtoo' Carikli 2024-01-30 23:53:07 +01:00
parent f59fc223c3
commit 4672e02a45
Signed by: GNUtoo
GPG Key ID: 5F5DFCC14177E263
1 changed files with 3 additions and 3 deletions

View File

@ -87,8 +87,8 @@ guix_latest_release="1.4.0"
source_guix_profile() source_guix_profile()
{ {
if [ -f "${HOME}"/.config/guix/current/etc/profile ] ; then if [ -f "${HOME}"/.config/guix/current/etc/profile ] ; then
GUIX_PROFILE="${HOME}/.config/guix/current" GUIX_PROFILE="${HOME}/.config/guix/current"
. "$GUIX_PROFILE"/etc/profile . "$GUIX_PROFILE"/etc/profile
fi fi
} }
@ -292,7 +292,7 @@ update_guix_to_latest_release()
if [ -n "${major}" ] ; then if [ -n "${major}" ] ; then
commit=$(guix_version_commit v$(guix_next_version "${current_version}")) commit=$(guix_version_commit v$(guix_next_version "${current_version}"))
guix pull --commit="${commit}" guix pull --commit="${commit}"
source_guix_profile source_guix_profile
update_guix_to_latest_release update_guix_to_latest_release
fi fi
} }