2018-12-10 18:14:34 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2021-10-22 00:50:21 +02:00
|
|
|
# shellcheck disable=SC1091
|
2018-12-10 18:14:34 +01:00
|
|
|
. /usr/share/debconf/confmodule
|
|
|
|
|
2019-02-22 16:02:39 +01:00
|
|
|
# try to update the debconf db according to whatever is in the config files
|
2019-03-07 08:16:09 +01:00
|
|
|
#
|
|
|
|
# note that we may get run during preconfiguration, in which case the script
|
|
|
|
# will not yet be installed.
|
|
|
|
[ -x /opt/venvs/matrix-synapse/lib/manage_debconf.pl ] && \
|
|
|
|
/opt/venvs/matrix-synapse/lib/manage_debconf.pl read
|
2019-02-22 16:02:39 +01:00
|
|
|
|
2018-12-10 18:14:34 +01:00
|
|
|
db_input high matrix-synapse/server-name || true
|
|
|
|
db_input high matrix-synapse/report-stats || true
|
|
|
|
db_go
|