aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki/Setup/Standard.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/IkiWiki/Setup/Standard.pm b/IkiWiki/Setup/Standard.pm
index fb542be20..0a3496885 100644
--- a/IkiWiki/Setup/Standard.pm
+++ b/IkiWiki/Setup/Standard.pm
@@ -64,6 +64,10 @@ sub setup_standard {
}
}
+ if (! $config{refresh}) {
+ $config{rebuild}=1;
+ }
+
loadplugins();
checkconfig();
@@ -72,7 +76,6 @@ sub setup_standard {
}
if (! $config{refresh}) {
- $config{rebuild}=1;
debug(gettext("rebuilding wiki.."));
}
else {