aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshare/hydra/install6
1 files changed, 6 insertions, 0 deletions
diff --git a/share/hydra/install b/share/hydra/install
index a639db3..93ede8e 100755
--- a/share/hydra/install
+++ b/share/hydra/install
@@ -31,6 +31,12 @@ fi
# Validation
if [ -z "$ORIGIN" ]; then
ORIGIN="git://git.sarava.org/hydra.git"
+else
+ ORIGIN_CONFIG="`hydra $HYDRA config git`"
+
+ if [ ! -z "$ORIGIN_CONFIG" ]; then
+ ORIGIN="$ORIGIN_CONFIG/hydra.git"
+ fi
fi
# Deploy