aboutsummaryrefslogtreecommitdiff
path: root/files/sync-media
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-11 19:58:12 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-11 19:58:12 -0200
commit4105a7abfb8f3e4804c08a2ce2953b34e82fb662 (patch)
treebe1fd317db79310a5e1fe497d619e3be75bc1646 /files/sync-media
parent7a52326211499e83c6a8bf089ed0d349b10e96d2 (diff)
downloadpuppet-backup-4105a7abfb8f3e4804c08a2ce2953b34e82fb662.tar.gz
puppet-backup-4105a7abfb8f3e4804c08a2ce2953b34e82fb662.tar.bz2
Run git-annex fsck just once
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 40ee19e..e1daa58 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