mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +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:
1 parent
c25bc9d812
commit
59c64e7872
3 files changed
+3
-3
No files matched your search
@@ -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'])
|
||||
|
||||
|
||||
Reference in new issue
Block a user