mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
deluge: Don't enable app when setup is rerun
Tests: - Could not test: 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
f0e1a1ebc9
commit
02192266c2
@ -105,7 +105,8 @@ class DelugeApp(app_module.App):
|
|||||||
super().setup(old_version)
|
super().setup(old_version)
|
||||||
add_user_to_share_group(SYSTEM_USER)
|
add_user_to_share_group(SYSTEM_USER)
|
||||||
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