diff options
Diffstat (limited to 'modules/40-git')
-rw-r--r-- | modules/40-git/install.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/40-git/install.sh b/modules/40-git/install.sh index 890db77..384f539 100644 --- a/modules/40-git/install.sh +++ b/modules/40-git/install.sh @@ -12,10 +12,11 @@ function preinstall() { function install() { # backup old file if it exists and we haven't backed it up before if [[ -f "$HOME/.gitconfig" ]] && ! [[ -f "$HOME/.gitconfig.bak" ]] && ! [[ -f "$_scriptdir/.firstrun" ]]; then - echo "making backup" + log verbose "making backup" cp "$HOME/.gitconfig" "$HOME/.gitconfig.bak" touch "$_scriptdir/.firstrun" fi + log info "linking gitconfig" ln -f "$_scriptdir/gitconfig" "$HOME/.gitconfig" } |