projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3b9e71
)
slightly better latout
author
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 23 Mar 2006 07:55:36 +0000
(07:55 +0000)
committer
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 23 Mar 2006 07:55:36 +0000
(07:55 +0000)
ikiwiki
patch
|
blob
|
history
diff --git
a/ikiwiki
b/ikiwiki
index 79b7eff90d1744dcbf356eb5cbda1389f7707faf..6f66c5ea4f5abec26f2ce8947407ac934bbf3a19 100755
(executable)
--- a/
ikiwiki
+++ b/
ikiwiki
@@
-429,20
+429,18
@@
sub main () { #{{{
require IkiWiki::Setup;
setup();
}
-
- lockwiki();
-
- if ($config{wrapper}) {
+ elsif ($config{wrapper}) {
+ lockwiki();
require IkiWiki::Wrapper;
gen_wrapper();
- exit;
}
-
- if ($config{cgi}) {
+ elsif ($config{cgi}) {
+ lockwiki();
require IkiWiki::CGI;
cgi();
}
else {
+ lockwiki();
loadindex() unless $config{rebuild};
require IkiWiki::Render;
rcs_update();