From: Silvio Rhatto Date: Sat, 1 Aug 2015 22:07:49 +0000 (-0300) Subject: Issue sync_media_identity right after cloning the repo X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=71505abea186bb01df98821360b0c78c202bd9f8;p=puppet-backup.git Issue sync_media_identity right after cloning the repo --- diff --git a/files/sync-media b/files/sync-media index a5465f1..4e34817 100644 --- a/files/sync-media +++ b/files/sync-media @@ -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