diff options
-rw-r--r-- | files/sync-media | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/files/sync-media b/files/sync-media index 6cdbc00..6864e2b 100644 --- a/files/sync-media +++ b/files/sync-media @@ -110,6 +110,11 @@ if [ -d "$CACHE" ]; then sync_media_add git annex sync + # Control whether the repository should have a copy of everything + if [ "`git -C $CACHE/$folder config sync-media.getall`" == "true" ]; then + git annex get . + fi + if [ "$FSCK" == "true" ]; then git annex fsck --fast fi |