summaryrefslogtreecommitdiff
path: root/bin/gitano-setup.in
diff options
context:
space:
mode:
Diffstat (limited to 'bin/gitano-setup.in')
-rw-r--r--bin/gitano-setup.in5
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)