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

This commit is contained in:
Stephan Witt 2024-04-11 18:31:51 +02:00
parent 945a02e2e1
commit 2883cd4215

View File

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