mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
janus: Allow upgrade to 1.1
Closes: #2303. Tests: - In testing container, install Janus. - Downgrade janus package to 1.0.1-1. - Manually re-run janus setup action. - Run "apt update". - janus is upgraded to 1.1.1-1, and rtp_port_range is set in /etc/janus/janus.jcfg. Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
e5a6205dec
commit
d3d7e233e3
@ -97,9 +97,9 @@ class JanusApp(app_module.App):
|
||||
if 'janus' not in packages:
|
||||
return False
|
||||
|
||||
# Allow upgrades within 1.0.*
|
||||
# Allow upgrades within 1.0.* and 1.1.*
|
||||
package = packages['janus']
|
||||
if Version(package['new_version']) > Version('1.1~'):
|
||||
if Version(package['new_version']) > Version('1.2~'):
|
||||
return False
|
||||
|
||||
install(['janus'], force_configuration='new')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user