aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshare/hydra/sync6
1 files changed, 6 insertions, 0 deletions
diff --git a/share/hydra/sync b/share/hydra/sync
index 1c3724d..6fd8d19 100755
--- a/share/hydra/sync
+++ b/share/hydra/sync
@@ -36,6 +36,12 @@ for repository in $REPOSITORIES; do
if [ ! -d "$HYDRA_FOLDER/$repository/.git" ]; then
git clone $PRIVATE_REPOS/$repository $HYDRA_FOLDER/$repository
+
+ # TODO: check if keyringer is installed
+ if [ ! -e "$HOME/.keyringer/$HYDRA" ]; then
+ echo "Initializing keyring for $HYDRA..."
+ keyringer $HYDRA init $HYDRA_FOLDER/$repository
+ fi
fi
if [ -d "$HYDRA_FOLDER/$repository/.git" ]; then