diff options
author | Richard van der Hoff <richard@matrix.org> | 2019-03-07 07:16:09 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2019-03-07 07:18:06 +0000 |
commit | 6e4931aa19c078fb6a1c40f15aa3d8eb23fe3d51 (patch) | |
tree | b9f9c3ea01d4670d3bf05d504d80cca4f5212c37 /debian/matrix-synapse-py3.config | |
parent | Merge pull request #4779 from matrix-org/travis/icons (diff) | |
download | synapse-6e4931aa19c078fb6a1c40f15aa3d8eb23fe3d51.tar.xz |
Debian package: fix warning during preconfiguration.
Diffstat (limited to '')
-rwxr-xr-x | debian/matrix-synapse-py3.config | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/debian/matrix-synapse-py3.config b/debian/matrix-synapse-py3.config index 3bda3292f1..37a781b3e8 100755 --- a/debian/matrix-synapse-py3.config +++ b/debian/matrix-synapse-py3.config @@ -5,7 +5,11 @@ set -e . /usr/share/debconf/confmodule # try to update the debconf db according to whatever is in the config files -/opt/venvs/matrix-synapse/lib/manage_debconf.pl read || true +# +# 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 |