From: Vincent van Ravesteijn Date: Fri, 4 May 2012 12:56:37 +0000 (+0200) Subject: Also generate a packages.lst when configuring without LaTeX X-Git-Tag: 2.1.0beta1~1896 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=2e42350523921857bd2bf46331ab89e2f3a883b1;p=features.git 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. --- diff --git a/lib/configure.py b/lib/configure.py index 00cdbdb64b..ec15cf294e 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -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