mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-27 03:58:06 +03:00
bab2bc844c
Not following: (error message here) https://github.com/koalaman/shellcheck/wiki/SC1091 Signed-off-by: Dan Callahan <danc@element.io>
17 lines
487 B
Bash
Executable file
17 lines
487 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
# shellcheck disable=SC1091
|
|
. /usr/share/debconf/confmodule
|
|
|
|
# try to update the debconf db according to whatever is in the config files
|
|
#
|
|
# 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
|
|
|
|
db_input high matrix-synapse/server-name || true
|
|
db_input high matrix-synapse/report-stats || true
|
|
db_go
|