From: Silvio Rhatto Date: Sun, 27 Sep 2015 01:39:57 +0000 (-0300) Subject: Install: custom origin X-Git-Tag: 0.2.4~276 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=d364529954d5f10acf2e29aec1fd410311fcf9cc;p=hydra.git Install: custom origin --- 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