diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-08-01 19:07:49 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-08-01 19:07:49 -0300 |
commit | 71505abea186bb01df98821360b0c78c202bd9f8 (patch) | |
tree | 432ab2f929a0ef1342fb857a680cc2d662eaf153 | |
parent | dac78b19ce2854bd09188fb7a9750d3abcbed81e (diff) | |
download | puppet-backup-71505abea186bb01df98821360b0c78c202bd9f8.tar.gz puppet-backup-71505abea186bb01df98821360b0c78c202bd9f8.tar.bz2 |
Issue sync_media_identity right after cloning the repo
-rw-r--r-- | files/sync-media | 2 |
1 files changed, 1 insertions, 1 deletions
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 |