mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-21 20:24:32 +03:00
Replace deprecated --force dpkg option
While watching @Half-Shot install his new Synapse dpkg popped out an error that `--force` was deprecated. This was on Ubuntu 19.04. Not sure if the `--force-all` option is supported by older distributions that we support
This commit is contained in:
parent
22a9f75097
commit
f6ea4f5b45
1 changed files with 1 additions and 1 deletions
2
debian/matrix-synapse-py3.postinst
vendored
2
debian/matrix-synapse-py3.postinst
vendored
|
@ -44,7 +44,7 @@ EOF
|
|||
|
||||
for DIR in /var/lib/matrix-synapse /var/log/matrix-synapse /etc/matrix-synapse; do
|
||||
if ! dpkg-statoverride --list --quiet $DIR >/dev/null; then
|
||||
dpkg-statoverride --force --quiet --update --add $USER nogroup 0755 $DIR
|
||||
dpkg-statoverride --force-all --quiet --update --add $USER nogroup 0755 $DIR
|
||||
fi
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue