1
0
mirror of https://github.com/NLnetLabs/routinator.git synced 2024-05-19 06:50:04 +00:00
ximon18 6b61e845a6 Deb packaging automation (#360)
Build and sanity check modern and minimal Routinator .deb packages using cargo-deb and GitHub Actions.
Also test against Debian 11 (Contributed by @netravnen).
2020-09-09 15:03:30 +02:00

16 lines
370 B
Bash

#!/bin/sh -e
ROUTINATOR_ETC="/etc/routinator"
case "$1" in
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."
if [ -d ${ROUTINATOR_ETC} ]; then
rm -R ${ROUTINATOR_ETC}
fi
;;
esac
#DEBHELPER#