There is no reason why we should not reconfigure in batch mode.
Comments? I plan to apply soon.
JMarc
Index: src/lyx_main.C
===================================================================
--- src/lyx_main.C (revision 14576)
+++ src/lyx_main.C (working copy)
@@ -458,12 +458,12 @@ void LyX::init()
if (!lyxrc.path_prefix.empty())
prependEnvPath("PATH", lyxrc.path_prefix);
- // Check that user LyX directory is ok. We don't do that if
- // running in batch mode.
- if (lyx_gui::use_gui) {
- if (queryUserLyXDir(package().explicit_user_support()))
- reconfigureUserLyXDir();
- } else {
+ // Check that user LyX directory is ok.
+ if (queryUserLyXDir(package().explicit_user_support()))
+ reconfigureUserLyXDir();
+
+ // no need for a splash when there is no GUI
+ if (!lyx_gui::use_gui) {
first_start = false;
}