mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 13:10:33 +02:00
Currently the check only looks if ~/.guix-profile symlink exists. That, however, is not sufficient. This file might be created prior to creation of the first generation of user's profile. So we should be checking that the profile does have the file we're looking for - etc/profile. This is the same way how /etc/profile solves this on Guix System. * etc/guix-install.sh (sys_create_init_profile): Properly check if ~/.guix-profile exists. Change-Id: I1a650cb5b845ca96705361e332409c3b49000057 Signed-off-by: Rutherther <rutherther@ditigal.xyz> Merges: #5123