- Msg "Can't write to \"/etc/skel\" - configuration SKIPPED.\n"
- fi
-}
-
-Config_RootUser() {
- if [ "$UID" = "0" ]; then
- user=`grep "^.*:.*:0:" /etc/passwd | head -n 1 | cut -d':' -f1`
- home=`grep "^.*:.*:0:" /etc/passwd | cut -d':' -f6`
- Config_User "$user" "$home"
- else
- Msg "Not running with root privileges - root user configuration SKIPPED.\n"
+ [ -z "$I_local" ] \
+ && Msg "Can't write to \"/etc/skel\" - configuration SKIPPED.\n" \
+ || Msg "Local install selected, \"/etc/skel\" configuration SKIPPED.\n"