mirror of
https://github.com/NLnetLabs/rtrtr.git
synced 2024-05-11 05:55:07 +00:00
This PR upgrades the packaging workflow and Dockerfile to allow for cross-compilation.
18 lines
354 B
Bash
18 lines
354 B
Bash
#!/bin/sh -e
|
|
|
|
RTRTR_ETC="/etc/rtrtr.conf"
|
|
|
|
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 [ -f ${RTRTR_ETC} ]; then
|
|
rm ${RTRTR_ETC}
|
|
fi
|
|
;;
|
|
esac
|
|
|
|
#DEBHELPER#
|
|
|