mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
coturn: Prevent package removal when roundcube is uninstalled
Closes: #2328. Coturn depends on sqlite3 package. As sqlite3 is listed as a package in roundcube, it is removed when roundcube is uninstalled. This results in the removal of coturn as well. Prevent this by listing sqlite3 package explicitly in coturn app. Tests: - Without the patch, install coturn and roundcube. When roundcube is uninstalled, coturn package is no longer installed. - Apply the patch, install coturn and roundcube. When roundcube is uninstalled, coturn and sqlite3 packages are still installed. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
8c1f73f54c
commit
96318e5f94
@ -59,7 +59,9 @@ class CoturnApp(app_module.App):
|
||||
parent_url_name='apps')
|
||||
self.add(menu_item)
|
||||
|
||||
packages = Packages('packages-coturn', ['coturn'])
|
||||
# Include sqlite3 to prevent removal of coturn from removal of
|
||||
# roundcube.
|
||||
packages = Packages('packages-coturn', ['coturn', 'sqlite3'])
|
||||
self.add(packages)
|
||||
|
||||
firewall = Firewall('firewall-coturn', info.name,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user