mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
updatelayouts.py: consider citeengines.
This commit is contained in:
parent
5997b60da1
commit
69b03d2545
@ -21,8 +21,11 @@ from layout2layout import main as layout2layout
|
||||
def main(argv):
|
||||
|
||||
toolsdir = os.path.dirname(argv[0])
|
||||
layoutdir = os.path.join(toolsdir, '../../lib/layouts')
|
||||
os.chdir(layoutdir)
|
||||
dirs = []
|
||||
dirs.append(os.path.join(toolsdir, '../../lib/layouts'))
|
||||
dirs.append(os.path.join(toolsdir, '../../lib/citeengines'))
|
||||
for directory in dirs:
|
||||
os.chdir(directory)
|
||||
for i in os.listdir("."):
|
||||
(base, ext) = os.path.splitext(i)
|
||||
if ext == ".old":
|
||||
|
Loading…
Reference in New Issue
Block a user