mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
ssh, avahi, apache: Fix default value for setup arguments
To be consistent with all other apps. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
c25bc9d812
commit
59c64e7872
@ -27,7 +27,7 @@ is_essential = True
|
||||
managed_packages = ['apache2', 'libapache2-mod-gnutls', 'libapache2-mod-php']
|
||||
|
||||
|
||||
def setup(helper, old_version=False):
|
||||
def setup(helper, old_version=None):
|
||||
"""Configure the module."""
|
||||
helper.install(managed_packages)
|
||||
actions.superuser_run('apache', ['setup'])
|
||||
|
||||
@ -64,7 +64,7 @@ def init():
|
||||
is_external=False)
|
||||
|
||||
|
||||
def setup(helper, old_version=False):
|
||||
def setup(helper, old_version=None):
|
||||
"""Install and configure the module."""
|
||||
helper.install(managed_packages)
|
||||
# Reload avahi-daemon now that first-run does not reboot. After performing
|
||||
|
||||
@ -55,7 +55,7 @@ def init():
|
||||
managed_services[0], name, ports=['ssh'], is_external=True)
|
||||
|
||||
|
||||
def setup(helper, old_version=False):
|
||||
def setup(helper, old_version=None):
|
||||
"""Configure the module."""
|
||||
actions.superuser_run('ssh', ['setup'])
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user