diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-09-16 21:27:05 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-09-16 21:27:05 -0300 |
commit | fb10087caf99fa1564d1c2bf8c0655121e16d074 (patch) | |
tree | 1f495b0e18d56b44911d23c57c89d58f455593b2 | |
parent | 65a78e647d1c45bd809ba8ed0eb68360a4c4cde8 (diff) | |
download | hydra-fb10087caf99fa1564d1c2bf8c0655121e16d074.tar.gz hydra-fb10087caf99fa1564d1c2bf8c0655121e16d074.tar.bz2 |
Sync: using git-annex for bootless0.1
-rwxr-xr-x | share/hydra/sync | 7 |
1 files changed, 6 insertions, 1 deletions
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 |