From d364529954d5f10acf2e29aec1fd410311fcf9cc Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 26 Sep 2015 22:39:57 -0300 Subject: Install: custom origin --- share/hydra/install | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'share') 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 -- cgit v1.2.3