summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-09-16 21:27:05 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-09-16 21:27:05 -0300
commitfb10087caf99fa1564d1c2bf8c0655121e16d074 (patch)
tree1f495b0e18d56b44911d23c57c89d58f455593b2
parent65a78e647d1c45bd809ba8ed0eb68360a4c4cde8 (diff)
downloadhydra-0.1.tar.gz
hydra-0.1.tar.bz2
Sync: using git-annex for bootless0.1
-rwxr-xr-xshare/hydra/sync7
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