mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
minetest: 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
ec7560b798
commit
de5d0ce6b0
@ -96,6 +96,7 @@ class MinetestApp(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)
|
||||||
|
if not old_version:
|
||||||
self.enable()
|
self.enable()
|
||||||
|
|
||||||
def force_upgrade(self, packages):
|
def force_upgrade(self, packages):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user