2020-12-28 11:39:05 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2021-07-26 14:18:02 +02:00
|
|
|
if [ -f /usr/share/debconf/confmodule ]; then
|
|
|
|
. /usr/share/debconf/confmodule
|
2021-01-01 20:43:59 +01:00
|
|
|
fi
|
|
|
|
|
2020-12-28 11:39:05 +01:00
|
|
|
case "${1}" in
|
2022-07-03 13:44:35 +02:00
|
|
|
purge)
|
|
|
|
rm -rf /var/lib/taler/exchange-offline /var/lib/taler/exchange-secmod-*
|
|
|
|
;;
|
2020-12-28 11:39:05 +01:00
|
|
|
|
2022-07-03 13:44:35 +02:00
|
|
|
remove | upgrade | failed-upgrade | abort-install | abort-upgrade | disappear)
|
|
|
|
;;
|
2021-07-26 14:18:02 +02:00
|
|
|
*)
|
2022-07-03 13:44:35 +02:00
|
|
|
echo "postrm called with unknown argument \`${1}'" >&2
|
|
|
|
exit 1
|
|
|
|
;;
|
2020-12-28 11:39:05 +01:00
|
|
|
esac
|
|
|
|
|
|
|
|
#DEBHELPER#
|
|
|
|
|
|
|
|
exit 0
|