|
@ -20,14 +20,19 @@ apt-get -y install bash-completion wget bzip2 git-core less language-pack-en pyt |
|
|
## etckeeper |
|
|
## etckeeper |
|
|
## |
|
|
## |
|
|
|
|
|
|
|
|
apt-get install etckeeper |
|
|
|
|
|
|
|
|
if [ -z "$DOCKER" ]; then |
|
|
|
|
|
apt-get install etckeeper |
|
|
|
|
|
|
|
|
sed -i 's/#VCS="git"/VCS="git"/g' /etc/etckeeper/etckeeper.conf |
|
|
|
|
|
sed -i 's/VCS="bzr"/#VCS="bzr"/g' /etc/etckeeper/etckeeper.conf |
|
|
|
|
|
|
|
|
sed -i 's/#VCS="git"/VCS="git"/g' /etc/etckeeper/etckeeper.conf |
|
|
|
|
|
sed -i 's/VCS="bzr"/#VCS="bzr"/g' /etc/etckeeper/etckeeper.conf |
|
|
|
|
|
|
|
|
etckeeper init |
|
|
|
|
|
|
|
|
git config --system user.email "default@$(hostname)" |
|
|
|
|
|
git config --system user.name "default" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
etckeeper init |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
## |
|
|
## |
|
|
## Git utilities |
|
|
## Git utilities |
|
|
## |
|
|
## |
|
|