commit 29a735463a06bffa0d075755df42c7c6c5ba1274
Author: Kornel Benko <kor...@lyx.org>
Date:   Tue Aug 8 12:23:15 2017 +0200

    Adapt the check for configure need to the one used in LyX::queryUserLyXDir()
    
    We should refactor the check
---
 src/tex2lyx/tex2lyx.cpp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/tex2lyx/tex2lyx.cpp b/src/tex2lyx/tex2lyx.cpp
index 3c0bf81..fc6ea1e 100644
--- a/src/tex2lyx/tex2lyx.cpp
+++ b/src/tex2lyx/tex2lyx.cpp
@@ -1060,7 +1060,9 @@ int TeX2LyXApp::run()
                if (configFileNeedsUpdate("lyxrc.defaults") ||
                    configFileNeedsUpdate("lyxmodules.lst") ||
                    configFileNeedsUpdate("textclass.lst") ||
-                   configFileNeedsUpdate("packages.lst"))
+                   configFileNeedsUpdate("packages.lst") ||
+                   configFileNeedsUpdate("lyxciteengines.lst") ||
+                   configFileNeedsUpdate("xtemplates.lst"))
                        package().reconfigureUserLyXDir("");
                fileUnlock(fd, lock_file.c_str());
        } else

Reply via email to