diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2014-07-14 15:16:15 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2014-07-14 15:16:15 +0000 |
commit | 4b8ce6875266fdd6609a217dcf2924d7d4815cc2 (patch) | |
tree | 8d7a5edd116bf327df8f507f21eaad428b056998 /bin/gitano-update-hook.in | |
parent | d5a76a5caf51d12c811317ac6e376942b7633770 (diff) | |
parent | ef7cb90b7e3df1f953d9190f1193101ac4c2f9db (diff) | |
download | gitano-baserock/morph.tar.gz |
Merge branch 'baserock/pedroalvarez/trove-ansible3' into baserock/morphbaserock/morph
Updated to the latest version of gitano, which now allows
the user to change the skeleton path.
Diffstat (limited to 'bin/gitano-update-hook.in')
-rw-r--r-- | bin/gitano-update-hook.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/gitano-update-hook.in b/bin/gitano-update-hook.in index bb7d8fe..15da2a9 100644 --- a/bin/gitano-update-hook.in +++ b/bin/gitano-update-hook.in @@ -35,6 +35,12 @@ local username = luxio.getenv("GITANO_USER") or "gitano/anonymous" local keytag = luxio.getenv("GITANO_KEYTAG") or "unknown" local project = luxio.getenv("GITANO_PROJECT") or "" local source = luxio.getenv("GITANO_SOURCE") or "ssh" +local running = luxio.getenv("GITANO_RUNNING") + +-- Check whether we are called through gitano-auth +if not running then + return 0 +end -- Now load the administration data gitano.config.repo_path(repo_root) |