@@ -200,6 +200,18 @@ chk_sys_arch()
ARCH_OS="${arch}-${os}"
}
+chk_sys_nscd()
+{ # Check if nscd is up and suggest to start it or install it
+
+ if [ "$(type -P pidof)" ]; then
+ if [ ! "$(pidof nscd)" ]; then
+ _msg "${ERR}We recommand to install the daemon 'nscd' via your distribution..."
+ _msg "${ERR}...or to start it."
+ _msg "${ERR}Please read 'info guix \"Application Setup\"' about \"Name Service Switch\""
+ fi
+ fi
+}
+
# ------------------------------------------------------------------------------
#+MAIN
@@ -552,6 +564,8 @@ main()
_msg "${INF}cleaning up ${tmp_path}"
rm -r "${tmp_path}"
+ chk_sys_nscd
+
_msg "${PAS}Guix has successfully been installed!"
_msg "${INF}Run 'info guix' to read the manual."