mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
ikiwiki: 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:
parent
b90ddd514d
commit
e6b88a48b9
@ -118,7 +118,8 @@ class IkiwikiApp(app_module.App):
|
|||||||
"""Install and configure the app."""
|
"""Install and configure the app."""
|
||||||
super().setup(old_version)
|
super().setup(old_version)
|
||||||
privileged.setup()
|
privileged.setup()
|
||||||
self.enable()
|
if not old_version:
|
||||||
|
self.enable()
|
||||||
|
|
||||||
def uninstall(self):
|
def uninstall(self):
|
||||||
"""De-configure and uninstall the app."""
|
"""De-configure and uninstall the app."""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user