mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Also generate a packages.lst when configuring without LaTeX
A default txtclass.lst is generated, but no packages.lst was generated. This causes every start to run configure.py.
This commit is contained in:
parent
5279d5a8a5
commit
2e42350523
@ -1083,6 +1083,12 @@ def checkLatexConfig(check_config, bool_docbook):
|
||||
tx.write(retval)
|
||||
tx.close()
|
||||
logger.info('\tdone')
|
||||
if not os.path.isfile('packages.lst') or not check_config:
|
||||
logger.info('+generating default list of packages... ')
|
||||
removeFiles(['packages.lst'])
|
||||
tx = open('packages.lst', 'w')
|
||||
tx.close()
|
||||
logger.info('\tdone')
|
||||
if not check_config:
|
||||
return None
|
||||
# the following will generate textclass.lst.tmp, and packages.lst.tmp
|
||||
|
Loading…
Reference in New Issue
Block a user