17 lines
221 B

  1. #!/bin/bash
  2. set +eux
  3. [ "$DOCKER" ] && exit 0
  4. ##
  5. ## etckeeper
  6. ##
  7. apt-get install -y etckeeper </dev/null
  8. sed -i 's/#VCS="git"/VCS="git"/g;s/VCS="bzr"/#VCS="bzr"/g' \
  9. /etc/etckeeper/etckeeper.conf
  10. etckeeper init