Browse Source

fix: [base-0k] should set up a global git user with ``--global`` and not ``--system``.

postgres
Valentin Lab 9 years ago
parent
commit
0af627d240
  1. 5
      precise/base-0k/hooks/install

5
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

Loading…
Cancel
Save