Clone the dotfiles for the user

This commit is contained in:
Daniel Flanagan 2020-11-07 22:35:32 -06:00
parent 7fcc7f71bc
commit 60270b519a
Signed by: lytedev
GPG Key ID: 5B2020A0F9921EF4
1 changed files with 3 additions and 2 deletions

View File

@ -93,9 +93,10 @@ distro_specific_user_setup() {
init_for_root() {
clone_dotfiles "$root_home$dotfiles"
distro_specific_root_setup
chown daniel:users "$daniel_home"
clone_dotfiles "$daniel_home$dotfiles"
chown daniel:users -R "$daniel_home"
echo "Re-running as user daniel..."
sudo --user daniel "$root_home$dotfiles/bin/init-dotfiles"
sudo --user daniel "$daniel_home$dotfiles/bin/init-dotfiles"
}
init_for_daniel() {