From ff6c9ee26e785c98b90c537d2f167861100470b5 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Fri, 15 Jun 2007 11:40:10 -0700 Subject: [PATCH] Update ikiwiki.setup according to latest model in ikiwiki-bootstrap --- ikiwiki.setup | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/ikiwiki.setup b/ikiwiki.setup index 75d300d..cbc275f 100644 --- a/ikiwiki.setup +++ b/ikiwiki.setup @@ -5,18 +5,25 @@ # # Remember to re-run ikiwiki --setup any time you edit this file. +our ($gitrepo, $checkout); + +BEGIN { + $gitrepo = '/srv/cworth.org/wiki'; + $checkout = "$gitrepo/ikiwiki-checkout"; +} + use IkiWiki::Setup::Standard { wikiname => "Carl's boring web pages", #adminuser => ["yourname", ], adminemail => 'cworth@cworth.org', # Be sure to customise these.. - srcdir => "/srv/cworth.org/wiki/checkout/src", + srcdir => "$checkout/src", destdir => "/srv/cworth.org/www", url => "http://cworth.org", #cgiurl => "http://example.org/ikiwiki.cgi", - templatedir => "/srv/cworth.org/wiki/checkout/templates", + templatedir => "$checkout/templates", underlaydir => "/dev/null", # Git stuff. @@ -38,7 +45,7 @@ use IkiWiki::Setup::Standard { # Note that this will overwrite any existing # post-update hook script, which may not be # what you want. - wrapper => "/srv/cworth.org/wiki/hooks/ikiwiki-post-update", + wrapper => "$gitrepo/hooks/ikiwiki-post-update", wrappermode => "04755", # Enable mail notifications of commits. #notify => 1, -- 2.43.0