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.
master
Joey Hess 2008-06-04 15:22:41 -04:00
parent 1933e3732c
commit a3d8f4904e
1 changed files with 4 additions and 1 deletions

View File

@ -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 {