diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-10-22 23:08:45 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-10-22 23:08:45 -0200 |
commit | 93670f33c76983846686916c84e13258cfcf37fe (patch) | |
tree | 24d10da6323f7744a65787978a3b2e2564dd826e | |
parent | e59ab973633179150f63441fc41b5f504a302c9f (diff) | |
download | hydra-93670f33c76983846686916c84e13258cfcf37fe.tar.gz hydra-93670f33c76983846686916c84e13258cfcf37fe.tar.bz2 |
Initializing keyring on hydra sync
-rwxr-xr-x | share/hydra/sync | 6 |
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 |