}
Config_Skel() {
- if [ -w /etc/skel ]; then
+ if [ -w /etc/skel -a -z "$I_local" ]; then
Msg "Starting \"/etc/skel\" configuration:\n"
Copy_File user/bash_logout /etc/skel/.bash_logout
if [ -e /etc/skel/.profile ]; then
fi
Copy_File user/bashrc /etc/skel/.bashrc root 644
else
- Msg "Can't write to \"/etc/skel\" - 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"
fi
}
user=`basename "$HOME"`
-Config_System
Config_Skel
+Config_System
Config_User "$user" "$HOME"
Config_RootUser