aboutsummaryrefslogtreecommitdiff
path: root/share/hydra/sync
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-02-28 13:11:16 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-02-28 13:11:16 -0300
commit173bd5c76143bf1e298106314f1577a94773ed9d (patch)
treef5e3c95ede2dab79572f84a483a9a0f7a901bdd5 /share/hydra/sync
parent022dfee473c804af2f3bf01065a49250d2074db2 (diff)
downloadhydra-173bd5c76143bf1e298106314f1577a94773ed9d.tar.gz
hydra-173bd5c76143bf1e298106314f1577a94773ed9d.tar.bz2
Setting/syncing config and doc repositories
Diffstat (limited to 'share/hydra/sync')
-rwxr-xr-xshare/hydra/sync4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/hydra/sync b/share/hydra/sync
index b65a95e..56eeede 100755
--- a/share/hydra/sync
+++ b/share/hydra/sync
@@ -26,7 +26,7 @@ function hydra_sync {
continue
fi
- if [ ! -d "$HYDRA_FOLDER/$repository/.git" ]; then
+ if [ ! -d "$HYDRA_FOLDER/$repository" ]; then
git clone $PRIVATE_REPOS/$repository $HYDRA_FOLDER/$repository
fi
@@ -44,7 +44,7 @@ function hydra_sync {
# Basic parameters.
if [ -z "$1" ]; then
- REPOSITORIES="bootless dns gitolite/public gitolite/private gitosis/public gitosis/private puppet"
+ REPOSITORIES="config doc bootless dns gitolite/public gitolite/private gitosis/public gitosis/private puppet"
else
REPOSITORIES="$*"
UPDATE_KEYRINGER="no"