restore-etckeeper should run after restore-metadata so its settings will take priority.
[jelmer/etckeeper.git] / init.d / 20restore-etckeeper
1 #!/bin/sh
2 set -e
3
4 # Yes, this runs code from the repository. As documented, etckeeper-init
5 # should only be run on repositories you trust.
6 if [ -e .etckeeper ]; then
7         . ./.etckeeper
8 else
9         touch .etckeeper
10         chmod 600 .etckeeper
11 fi