From: Juergen Spitzmueller Date: Fri, 15 May 2020 13:22:14 +0000 (+0200) Subject: Safer 0.x version test X-Git-Tag: 2.3.5~35 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f489ecab9945ad9f07fa98a575bb7c66988c8afd;p=features.git Safer 0.x version test (cherry picked from commit d5079c2e73cd8e6a9f4261bf610ec6147b0226d2) --- diff --git a/lib/configure.py b/lib/configure.py index 8f70066832..1eb4043114 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -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