Fix package list.

This commit is contained in:
Antoine Nguyen
2015-10-15 12:55:21 +02:00
parent 19a4fa60a5
commit 4fa18287e7

View File

@@ -16,7 +16,9 @@ class Modoboa(base.Installer):
appname = "modoboa" appname = "modoboa"
no_daemon = True no_daemon = True
packages = ["python-dev", "libxml2-dev", "libxslt-dev", "rrdtool"] packages = [
"python-dev", "libxml2-dev", "libxslt-dev", "libjpeg-dev",
"libcairo2-dev", "rrdtool"]
with_db = True with_db = True
with_user = True with_user = True
@@ -35,7 +37,7 @@ class Modoboa(base.Installer):
def _setup_venv(self): def _setup_venv(self):
"""Prepare a dedicated virtuelenv.""" """Prepare a dedicated virtuelenv."""
python.setup_virtualenv(self.venv_path, sudo_user=self.user) python.setup_virtualenv(self.venv_path, sudo_user=self.user)
packages = ["modoboa", "py-rrdtool"] packages = ["modoboa", "python-rrdtool"]
if self.dbengine == "postgres": if self.dbengine == "postgres":
packages.append("psycopg2") packages.append("psycopg2")
else: else: