diff options
author | Paul van Tilburg <paul@luon.net> | 2021-04-16 22:11:58 +0200 |
---|---|---|
committer | Paul van Tilburg <paul@luon.net> | 2021-04-22 21:52:47 +0200 |
commit | 4fb2f17b8365185319595d178d72df6f06bcacfd (patch) | |
tree | af239b58da9c725d01454a0370d2d818abc77ca7 /debian | |
parent | 19aaffeb23c6f6838e1afebd975a49ff0fbf1ab8 (diff) | |
download | conduit-4fb2f17b8365185319595d178d72df6f06bcacfd.zip |
Purge debconf changes from the DB on purge
Diffstat (limited to 'debian')
-rw-r--r-- | debian/postrm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/postrm b/debian/postrm index 04ca325..2894909 100644 --- a/debian/postrm +++ b/debian/postrm @@ -1,11 +1,16 @@ #!/bin/sh set -e +. /usr/share/debconf/confmodule + CONDUIT_CONFIG_PATH=/etc/matrix-conduit CONDUIT_DATABASE_PATH=/var/lib/matrix-conduit case $1 in purge) + # Remove debconf changes from the db + db_purge + # Per https://www.debian.org/doc/debian-policy/ch-files.html#behavior # "configuration files must be preserved when the package is removed, and # only deleted when the package is purged." |