fix #7265: ensure Debian package cleans up nicely on purge
This commit is contained in:
parent
dc17320a88
commit
84c78612f3
13
debian/taler-exchange.postrm
vendored
13
debian/taler-exchange.postrm
vendored
@ -7,13 +7,16 @@ if [ -f /usr/share/debconf/confmodule ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
case "${1}" in
|
case "${1}" in
|
||||||
purge) ;;
|
purge)
|
||||||
remove | upgrade | failed-upgrade | abort-install | abort-upgrade | disappear) ;;
|
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
|
echo "postrm called with unknown argument \`${1}'" >&2
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
#DEBHELPER#
|
#DEBHELPER#
|
||||||
|
Loading…
Reference in New Issue
Block a user