mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
upgrades: Skip enable-auto in develop mode
Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
cf7ff2d1b6
commit
fea7956527
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user