From 0af627d240eb38ff81a0bde8266c7a464434e969 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Thu, 17 Mar 2016 15:35:37 +0800 Subject: [PATCH] fix: [base-0k] should set up a global git user with ``--global`` and not ``--system``. --- precise/base-0k/hooks/install | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/precise/base-0k/hooks/install b/precise/base-0k/hooks/install index 7285bbb..446013d 100755 --- a/precise/base-0k/hooks/install +++ b/precise/base-0k/hooks/install @@ -34,9 +34,8 @@ if [ -z "$DOCKER" ]; then sed -i 's/#VCS="git"/VCS="git"/g' /etc/etckeeper/etckeeper.conf sed -i 's/VCS="bzr"/#VCS="bzr"/g' /etc/etckeeper/etckeeper.conf - git config --system user.email "default@$(hostname)" - git config --system user.name "default" - + git config --global user.email "default@$(hostname)" + git config --global user.name "default" etckeeper init fi