Make sure to deploy Radicale < 3.

This commit is contained in:
Antoine Nguyen
2020-06-09 10:18:38 +02:00
parent c0d61d86c7
commit 6da2f292cd

View File

@@ -31,7 +31,7 @@ class Radicale(base.Installer):
"""Prepare a dedicated virtualenv.""" """Prepare a dedicated virtualenv."""
python.setup_virtualenv( python.setup_virtualenv(
self.venv_path, sudo_user=self.user, python_version=3) self.venv_path, sudo_user=self.user, python_version=3)
packages = ["Radicale", "radicale-dovecot-auth", "pytz"] packages = ["Radicale<3", "radicale-dovecot-auth", "pytz"]
python.install_packages(packages, self.venv_path, sudo_user=self.user) python.install_packages(packages, self.venv_path, sudo_user=self.user)
python.install_package_from_repository( python.install_package_from_repository(
"radicale-storage-by-index", "radicale-storage-by-index",