mirror of
https://github.com/NLnetLabs/routinator.git
synced 2024-05-19 06:50:04 +00:00
Build and sanity check modern and minimal Routinator .deb packages using cargo-deb and GitHub Actions. Also test against Debian 11 (Contributed by @netravnen).
16 lines
370 B
Bash
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# |