aboutsummaryrefslogtreecommitdiff
path: root/files/sync-media
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-11 20:42:13 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-11 20:42:13 -0200
commit598760f912959260588ba813b1c3611e89d28083 (patch)
treec703fc52e15d9cc08e45f49692773ed16b517f68 /files/sync-media
parent4105a7abfb8f3e4804c08a2ce2953b34e82fb662 (diff)
downloadpuppet-backup-598760f912959260588ba813b1c3611e89d28083.tar.gz
puppet-backup-598760f912959260588ba813b1c3611e89d28083.tar.bz2
Rollback
Diffstat (limited to 'files/sync-media')
-rw-r--r--files/sync-media6
1 files changed, 3 insertions, 3 deletions
diff --git a/files/sync-media b/files/sync-media
index e1daa58..40ee19e 100644
--- a/files/sync-media
+++ b/files/sync-media
@@ -122,9 +122,9 @@ if [ ! -z "$DRIVE" ] && [ -d "$VOLUME/$MEDIA" ]; then
git annex sync
git annex get --auto --numcopies=3
- #if [ "$FSCK" == "true" ]; then
- # git annex fsck --fast
- #fi
+ if [ "$FSCK" == "true" ]; then
+ git annex fsck --fast
+ fi
git annex unused
git annex dropunused 1-1000