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:
Vincent van Ravesteijn 2012-05-04 14:56:37 +02:00
parent 5279d5a8a5
commit 2e42350523

View File

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