mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
Safer 0.x version test
(cherry picked from commit d5079c2e73cd8e6a9f4261bf610ec6147b0226d2)
This commit is contained in:
parent
733389677f
commit
f489ecab99
@ -554,7 +554,7 @@ def checkInkscape():
|
||||
def checkInkscapeStable():
|
||||
''' Check whether we use Inkscape >= 1.0 '''
|
||||
version_string = cmdOutput("inkscape --version")
|
||||
if version_string.find('0.9') > 0:
|
||||
if version_string.find(' 0.') > 0:
|
||||
return False
|
||||
else:
|
||||
return True
|
||||
|
Loading…
x
Reference in New Issue
Block a user