summaryrefslogtreecommitdiff
path: root/init.d/10restore-etckeeper
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/10restore-etckeeper')
-rwxr-xr-xinit.d/10restore-etckeeper2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.d/10restore-etckeeper b/init.d/10restore-etckeeper
index 376524c..f49e70c 100755
--- a/init.d/10restore-etckeeper
+++ b/init.d/10restore-etckeeper
@@ -5,4 +5,6 @@ set -e
# should only be run on repositories you trust.
if [ -e .etckeeper ]; then
. ./.etckeeper
+else
+ touch .etckeeper
fi