mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
firewalld: Force upgrade anything in [0.7, 0.9)
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
7ed64c03fc
commit
435b028d17
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user