Files
aptly/debian/aptly-api.postrm
T
2024-10-15 14:42:01 +02:00

25 lines
470 B
Bash
Executable File

#!/bin/sh
set -e
case "$1" in
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
# Only remove /var/lib/aptly-api on purge
if [ "${1}" = "purge" ] ; then
rm -rf /var/lib/aptly-api
fi
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0