mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
quassel: Don't enable app when setup is rerun
Tests: - Rerun setup after disabling the app. App is not enabled. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
9fa1e1f563
commit
100592c1d4
1 file changed
+3
-1
@@ -98,7 +98,9 @@ class QuasselApp(app_module.App):
|
|||||||
def setup(self, old_version):
|
def setup(self, old_version):
|
||||||
"""Install and configure the app."""
|
"""Install and configure the app."""
|
||||||
super().setup(old_version)
|
super().setup(old_version)
|
||||||
self.enable()
|
if not old_version:
|
||||||
|
self.enable()
|
||||||
|
|
||||||
self.get_component('letsencrypt-quassel').setup_certificates()
|
self.get_component('letsencrypt-quassel').setup_certificates()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user