From 5a0920380d6f430256fbf33c32ed240d687f553f Mon Sep 17 00:00:00 2001 From: arch Date: Fri, 23 Dec 2022 19:07:37 +0100 Subject: [PATCH] fix installer --- contrib/Installer/mtfg-ofs-extension-installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/Installer/mtfg-ofs-extension-installer.py b/contrib/Installer/mtfg-ofs-extension-installer.py index 1dd4971..31487fb 100644 --- a/contrib/Installer/mtfg-ofs-extension-installer.py +++ b/contrib/Installer/mtfg-ofs-extension-installer.py @@ -167,7 +167,7 @@ def update(download_urls, latest, release_notes): min_required_installer_version = get_required_installer_version(mtfg_dir + "_update") print('check min required installer version', min_required_installer_version) - if version.parse(min_required_installer_version) < version.parse(VERSION.lower().replace('v', '')): + if version.parse(min_required_installer_version) > version.parse(VERSION.lower().replace('v', '')): uninstall() error("min required installer version is " + str(min_required_installer_version))