aboutsummaryrefslogtreecommitdiff
path: root/share/hydra/install
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-09-26 22:39:57 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-09-26 22:39:57 -0300
commitd364529954d5f10acf2e29aec1fd410311fcf9cc (patch)
treed755b48a9556e134630071d11a66e0cff2e7aa4e /share/hydra/install
parent269b716f9d32b6c690ab42abb8d2e8c0f5def78a (diff)
downloadhydra-d364529954d5f10acf2e29aec1fd410311fcf9cc.tar.gz
hydra-d364529954d5f10acf2e29aec1fd410311fcf9cc.tar.bz2
Install: custom origin
Diffstat (limited to 'share/hydra/install')
-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