mirror of
https://github.com/vhaudiquet/mymachine.git
synced 2025-12-18 12:06:06 +00:00
No overwrite dotfiles
This commit is contained in:
@@ -174,9 +174,9 @@ if [[ $i = $total ]]; then
|
||||
echo ""
|
||||
fi
|
||||
|
||||
# Install dotfiles
|
||||
# Install dotfiles, without overwriting
|
||||
echo "Installing dotfiles..."
|
||||
cp -r ${script_dir}/dotfiles/. /home/${USERNAME}/
|
||||
cp -r -n ${script_dir}/dotfiles/. /home/${USERNAME}/
|
||||
cat ${script_dir}/dotfiles/.config/git/config | envsubst '$GIT_USER $EMAIL' >/home/${USERNAME}/.config/git/config
|
||||
|
||||
# TODO: Setup GRUB theme
|
||||
|
||||
Reference in New Issue
Block a user