From a3d8f4904ecd3aef35bacc43845546dd352a7977 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 4 Jun 2008 15:22:41 -0400 Subject: [PATCH] set rebuild before loading plugins This fixes a recent minor reversion caused by loading plugins earlier than the messages are printed. Some plugins might check if rebuild is set. --- IkiWiki/Setup/Standard.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 { -- 2.26.2