]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_main.C
bug 2298: cursorTop/Bottom/Home/End does not redraw after dEPM
[lyx.git] / src / lyx_main.C
index 50fcd9e096dda4c348e86febc20de8555ad2014e..f19801213e45725b82930232e67a873ca271d13b 100644 (file)
@@ -117,9 +117,9 @@ void showFileError(string const & error)
 void reconfigureUserLyXDir()
 {
        string const configure_script =
-               AddName(package().system_support(), "configure");
+               AddName(package().system_support(), "configure.py");
        string const configure_command =
-               "sh " + QuoteName(configure_script);
+               "python " + QuoteName(configure_script);
 
        lyxerr << _("LyX: reconfiguring user directory") << endl;
        Path p(package().user_support());
@@ -621,7 +621,7 @@ bool LyX::queryUserLyXDir(bool explicit_userdir)
            fs::is_directory(package().user_support())) {
                first_start = false;
                string const configure_script =
-                       AddName(package().system_support(), "configure");
+                       AddName(package().system_support(), "configure.py");
                string const userDefaults =
                        AddName(package().user_support(), "lyxrc.defaults");
                if (fs::exists(configure_script) &&