]> git.lyx.org Git - features.git/commitdiff
Safer 0.x version test
authorJuergen Spitzmueller <spitz@lyx.org>
Fri, 15 May 2020 13:22:14 +0000 (15:22 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Mon, 18 May 2020 11:20:08 +0000 (13:20 +0200)
(cherry picked from commit d5079c2e73cd8e6a9f4261bf610ec6147b0226d2)

lib/configure.py

index 8f70066832a87039d53dfefff1d5417e0a91510d..1eb40431148124dde6aec806eeebcda9542d53e3 100644 (file)
@@ -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