From 71505abea186bb01df98821360b0c78c202bd9f8 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 1 Aug 2015 19:07:49 -0300 Subject: Issue sync_media_identity right after cloning the repo --- files/sync-media | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files/sync-media') 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 -- cgit v1.2.3