You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
257 B
18 lines
257 B
#!/bin/bash
|
|
|
|
set +eux
|
|
|
|
[ "$DOCKER" ] && exit 0
|
|
|
|
##
|
|
## etckeeper
|
|
##
|
|
|
|
apt-get install -y etckeeper </dev/null
|
|
|
|
sed -i 's/^#VCS="git"/VCS="git"/g;s/^VCS="bzr"/#VCS="bzr"/g' \
|
|
/etc/etckeeper/etckeeper.conf
|
|
|
|
if ! [ -f /etc/.git ]; then
|
|
etckeeper init
|
|
fi
|