summaryrefslogtreecommitdiff
path: root/init.d/20restore-metadata
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/20restore-metadata')
-rwxr-xr-xinit.d/20restore-metadata2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.d/20restore-metadata b/init.d/20restore-metadata
index 01c45e4..5d76b1b 100755
--- a/init.d/20restore-metadata
+++ b/init.d/20restore-metadata
@@ -7,4 +7,6 @@ set -e
# should only be run on repositories you trust.
if [ -e .metadata ]; then
metastore --apply --mtime
+else
+ metastore --save
fi