guix-install.sh: Create /etc/profile.d if it does not exist
authorPrafulla Giri <pratheblackdiamond@gmail.com>
Tue, 21 Jan 2020 06:49:10 +0000 (12:34 +0545)
committerLudovic Courtès <ludo@gnu.org>
Sun, 26 Jan 2020 22:21:39 +0000 (23:21 +0100)
commit29ba58c0ef3c1e4a6154a133203c9c09d138fd32
tree6a770d5ddb4188057e64b68b50dabe327416b003
parent5c03516a6bc6bff69b99ec8d29a87603685f7041
guix-install.sh: Create /etc/profile.d if it does not exist

* etc/guix-install.sh (sys_create_init_profile): Add code to create
/etc/profile.d if it somehow does not exist; the function still carries
on because it is possible that /etc/profile is still configured to read
the *.sh files from /etc/profile.d, if they exist.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
etc/guix-install.sh