mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
matrixsynapse: Add python3-psycopg2 to packages
python3-psycopg2 is a dependency of matrix-synapse package. It is also listed as a package to be installed by TT-RSS app. This is a quick fix to prevent accidental uninstall of matrix-synapse package, when TT-RSS app is uninstalled. Helps #2298. Tests: - Install Matrix Synapse. - Install TT-RSS, and then uninstall it. matrix-synapse package is still installed. Matrix Synapse diagnostics are passed. Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
59f5fa28ff
commit
3cf7e7c2c4
@ -70,8 +70,11 @@ class MatrixSynapseApp(app_module.App):
|
|||||||
clients=info.clients, login_required=True)
|
clients=info.clients, login_required=True)
|
||||||
self.add(shortcut)
|
self.add(shortcut)
|
||||||
|
|
||||||
packages = Packages('packages-matrixsynapse',
|
# Include python3-psycopg2 to prevent accidental uninstall
|
||||||
['matrix-synapse', 'matrix-synapse-ldap3'])
|
# (see issue #2298).
|
||||||
|
packages = Packages(
|
||||||
|
'packages-matrixsynapse',
|
||||||
|
['matrix-synapse', 'matrix-synapse-ldap3', 'python3-psycopg2'])
|
||||||
self.add(packages)
|
self.add(packages)
|
||||||
|
|
||||||
firewall = Firewall('firewall-matrixsynapse', info.name,
|
firewall = Firewall('firewall-matrixsynapse', info.name,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user