Make sure /etc/mailname file exists before amavis is installed.
see #1801
This commit is contained in:
@@ -147,6 +147,7 @@ class Installer(object):
|
||||
|
||||
def run(self):
|
||||
"""Run the installer."""
|
||||
self.pre_run()
|
||||
self.install_packages()
|
||||
self.setup_user()
|
||||
if not self.upgrade:
|
||||
@@ -155,6 +156,10 @@ class Installer(object):
|
||||
self.post_run()
|
||||
self.restart_daemon()
|
||||
|
||||
def pre_run(self):
|
||||
"""Tasks to execute before the installer starts."""
|
||||
pass
|
||||
|
||||
def post_run(self):
|
||||
"""Additionnal tasks."""
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user