mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
firewall: Support upgrading firewalld to 0.8
Closes #1737. Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
aa2aa56c46
commit
c9d9d4736b
@ -81,9 +81,9 @@ def force_upgrade(helper, packages):
|
||||
if 'firewalld' not in packages:
|
||||
return False
|
||||
|
||||
# firewalld 0.4.4.6-2 -> 0.6.x
|
||||
# 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.7') or \
|
||||
if Version(package['current_version']) >= Version('0.8') or \
|
||||
Version(package['new_version']) < Version('0.7'):
|
||||
return False
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user