]> gitweb.fluxo.info Git - puppet-backup.git/commitdiff
Issue sync_media_identity right after cloning the repo
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 1 Aug 2015 22:07:49 +0000 (19:07 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 1 Aug 2015 22:07:49 +0000 (19:07 -0300)
files/sync-media

index a5465f125be5e8bf992f7cb9317b24fa2d53cf29..4e34817a7382ac0af797ddfa077ee9208ab3c696 100644 (file)
@@ -137,7 +137,7 @@ if [ -d "$CACHE" ]; then
               (
               cd $VOLUME/$MEDIA
               echo "Initializing $VOLUME/$MEDIA/$folder..."
-              git clone $CACHE/$folder && cd $folder && git annex init $DRIVE && \
+              git clone $CACHE/$folder && cd $folder && sync_media_identity && git annex init $DRIVE && \
                 cd $CACHE/$folder && git remote add $DRIVE $VOLUME/$MEDIA/$folder
               )
             fi