fix #7265: ensure Debian package cleans up nicely on purge

This commit is contained in:
Christian Grothoff 2022-07-03 13:44:35 +02:00
parent dc17320a88
commit 84c78612f3
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -7,9 +7,12 @@ if [ -f /usr/share/debconf/confmodule ]; then
fi
case "${1}" in
purge) ;;
remove | upgrade | failed-upgrade | abort-install | abort-upgrade | disappear) ;;
purge)
rm -rf /var/lib/taler/exchange-offline /var/lib/taler/exchange-secmod-*
;;
remove | upgrade | failed-upgrade | abort-install | abort-upgrade | disappear)
;;
*)
echo "postrm called with unknown argument \`${1}'" >&2
exit 1