mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
zoph: 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
2c6faf7014
commit
dc0b9bed82
@ -89,7 +89,8 @@ class ZophApp(app_module.App):
|
|||||||
privileged.pre_install()
|
privileged.pre_install()
|
||||||
super().setup(old_version)
|
super().setup(old_version)
|
||||||
privileged.setup()
|
privileged.setup()
|
||||||
self.enable()
|
if not old_version:
|
||||||
|
self.enable()
|
||||||
|
|
||||||
|
|
||||||
class ZophBackupRestore(BackupRestore):
|
class ZophBackupRestore(BackupRestore):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user