From fea795652781a0c7a3f177b951522deb7c03c684 Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Wed, 17 Jun 2020 11:01:32 -0400 Subject: [PATCH] upgrades: Skip enable-auto in develop mode Signed-off-by: James Valleroy Reviewed-by: Sunil Mohan Adapa --- plinth/modules/upgrades/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plinth/modules/upgrades/__init__.py b/plinth/modules/upgrades/__init__.py index 6b6d91331..7d83ca633 100644 --- a/plinth/modules/upgrades/__init__.py +++ b/plinth/modules/upgrades/__init__.py @@ -100,7 +100,7 @@ def setup(helper, old_version=None): helper.install(managed_packages) # Enable automatic upgrades but only on first install - if not old_version: + if not old_version and not cfg.develop: helper.call('post', actions.superuser_run, 'upgrades', ['enable-auto']) # Update apt preferences whenever on first install and on version