From: Silvio Rhatto Date: Tue, 17 Sep 2013 00:27:05 +0000 (-0300) Subject: Sync: using git-annex for bootless X-Git-Tag: 0.1^0 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=fb10087caf99fa1564d1c2bf8c0655121e16d074;p=hydra.git Sync: using git-annex for bootless --- diff --git a/share/hydra/sync b/share/hydra/sync index 49522de..e3fb571 100755 --- a/share/hydra/sync +++ b/share/hydra/sync @@ -35,7 +35,12 @@ for repository in $REPOSITORIES; do if [ -d "$HYDRA_FOLDER/$repository/.git" ]; then echo "Syncing $repository..." - ( cd $HYDRA_FOLDER/$repository && git pull origin master && git submodule update --init ) + + if [ "$repository" == "bootless" ]; then + ( cd $HYDRA_FOLDER/$repository && git annex sync ) + else + ( cd $HYDRA_FOLDER/$repository && git pull origin master && git submodule update --init ) + fi fi done