mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 18:43:37 +00:00
Avoid call of lilypond-book as python script if not on Windows
This commit is contained in:
parent
ad6aa8ba4b
commit
3be3183eea
@ -1377,6 +1377,13 @@ def checkConverterEntries():
|
||||
break
|
||||
else:
|
||||
logger.info('+ found LilyPond-book, but version %s is too old.' % version_number)
|
||||
else:
|
||||
logger.info('+ found LilyPond book, but version string does not match: %s' % version_string)
|
||||
|
||||
# If not on Windows, skip the check as argument to python.
|
||||
if os.name != 'nt':
|
||||
break
|
||||
|
||||
if not found_lilypond_book:
|
||||
logger.info('+ found LilyPond-book, but could not extract version number.')
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user