mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
Safer 0.x version test
This commit is contained in:
parent
74f831e06d
commit
d5079c2e73
@ -542,7 +542,7 @@ def checkInkscape():
|
|||||||
def checkInkscapeStable():
|
def checkInkscapeStable():
|
||||||
''' Check whether we use Inkscape >= 1.0 '''
|
''' Check whether we use Inkscape >= 1.0 '''
|
||||||
version_string = cmdOutput("inkscape --version")
|
version_string = cmdOutput("inkscape --version")
|
||||||
if version_string.find('0.9') > 0:
|
if version_string.find(' 0.') > 0:
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
return True
|
return True
|
||||||
|
Loading…
Reference in New Issue
Block a user