From 435b028d1785f62520c62854f99326c486ee1cee Mon Sep 17 00:00:00 2001 From: Joseph Nuthalapati Date: Mon, 6 Apr 2020 22:02:40 +0530 Subject: [PATCH] firewalld: Force upgrade anything in [0.7, 0.9) Signed-off-by: Joseph Nuthalapati Reviewed-by: James Valleroy --- plinth/modules/firewall/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plinth/modules/firewall/__init__.py b/plinth/modules/firewall/__init__.py index 4617b12ab..1cbc30bd0 100644 --- a/plinth/modules/firewall/__init__.py +++ b/plinth/modules/firewall/__init__.py @@ -106,7 +106,7 @@ def force_upgrade(helper, packages): # firewalld 0.6.x -> 0.7.x, 0.6.x -> 0.8.x, 0.7.x -> 0.8.x package = packages['firewalld'] - if Version(package['current_version']) >= Version('0.8') or \ + if Version(package['current_version']) >= Version('0.9') or \ Version(package['new_version']) < Version('0.7'): return False