[LyX/master] Add LyX-2.4 user directory to the list of candidates for copying on first run of LyX-2.5.

Stephan Witt switt at lyx.org
Thu Apr 11 16:32:13 UTC 2024


commit 2883cd4215c14a8eb935f805333fa955fb08f4e3
Author: Stephan Witt <switt at lyx.org>
Date:   Thu Apr 11 18:31:51 2024 +0200

    Add LyX-2.4 user directory to the list of candidates for copying on first run of LyX-2.5.
---
 lib/configure.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/configure.py b/lib/configure.py
index df0251268a..f414607c6f 100644
--- a/lib/configure.py
+++ b/lib/configure.py
@@ -180,7 +180,7 @@ def checkUpgrade():
         logger.info('Checking for upgrade from previous version.')
         parent = os.path.dirname(cwd)
         appname = basename[:(-len(version_suffix))]
-        for version in ['-2.3', '-2.2', '-2.1', '-2.0', '-1.6' ]:
+        for version in ['-2.4', '-2.3', '-2.2', '-2.1', '-2.0', '-1.6' ]:
             logger.debug('Checking for upgrade from previous version ' + version)
             previous = os.path.join(parent, appname + version)
             logger.debug('previous = ' + previous)


More information about the lyx-cvs mailing list