[LyX/master] Safer 0.x version test
Juergen Spitzmueller
spitz at lyx.org
Fri May 15 13:00:44 UTC 2020
commit d5079c2e73cd8e6a9f4261bf610ec6147b0226d2
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Fri May 15 15:22:14 2020 +0200
Safer 0.x version test
---
lib/configure.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/configure.py b/lib/configure.py
index aadb156..f0672d4 100644
--- a/lib/configure.py
+++ b/lib/configure.py
@@ -542,7 +542,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
More information about the lyx-cvs
mailing list