]> gitweb.fluxo.info Git - hydra.git/commitdiff
Sync: using git-annex for bootless 0.1
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 17 Sep 2013 00:27:05 +0000 (21:27 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 17 Sep 2013 00:27:05 +0000 (21:27 -0300)
share/hydra/sync

index 49522de5287ed7cae55262d7f3c699436f1e943f..e3fb571794600477382e16848b3b76c9dfb55005 100755 (executable)
@@ -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