diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2014-05-21 13:44:19 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2014-05-21 13:44:19 +0100 |
commit | ef7cb90b7e3df1f953d9190f1193101ac4c2f9db (patch) | |
tree | 52a6fe19e29c61a7fe5aced06dd956d3ff102125 | |
parent | 5f1429e7747cb62ecdd30297d489fba52a1cdfa0 (diff) | |
download | gitano-ef7cb90b7e3df1f953d9190f1193101ac4c2f9db.tar.gz |
Support paths.skel in gitano-setup to change skeleton pathbaserock/pedroalvarez/trove-ansible3
-rw-r--r-- | bin/gitano-setup.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/gitano-setup.in b/bin/gitano-setup.in index f31c8f0..038276c 100644 --- a/bin/gitano-setup.in +++ b/bin/gitano-setup.in @@ -164,6 +164,9 @@ ask_for("site.name", "Site name", "a random Gitano instance") ask_for("log.prefix", "Site log prefix", "gitano") ask_for("use.htpasswd", "Store passwords with htpasswd? (needed for http authentication)", "no") +ask_for("paths.skel", "Path to skeleton gitano-admin content", + gitano.config.share_path() .. "/skel/gitano-admin") + gitano.log.chat("Step 2: Gather required content") gitano.log.info("=> Prepare site config") @@ -176,7 +179,7 @@ completely_flat["site.conf"] = site_conf:serialise() -- Acquire the contents of the skeleton gitano-admin repository gitano.log.info("=> Acquire skeleton gitano-admin") -local skel_path = gitano.config.share_path() .. "/skel/gitano-admin" +local skel_path = get "paths.skel" local skel = assert(sio.opendir(skel_path)) local function acquire(dir, base, path) gitano.log.ddebug("Acquire skeleton in:", path) |