diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-09-26 22:39:57 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-09-26 22:39:57 -0300 |
commit | d364529954d5f10acf2e29aec1fd410311fcf9cc (patch) | |
tree | d755b48a9556e134630071d11a66e0cff2e7aa4e | |
parent | 269b716f9d32b6c690ab42abb8d2e8c0f5def78a (diff) | |
download | hydra-d364529954d5f10acf2e29aec1fd410311fcf9cc.tar.gz hydra-d364529954d5f10acf2e29aec1fd410311fcf9cc.tar.bz2 |
Install: custom origin
-rwxr-xr-x | share/hydra/install | 6 |
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 |