mirror of
https://github.com/NLnetLabs/krill.git
synced 2026-09-17 23:17:42 +02:00
- Assumes that the target system has ca-certificates installed already. - Vendor OpenSSL to support Ubuntu 16.04 which only has OpenSSL 1.0.0. - Use GH caching to avoid repeat compilation of unchanging cargo deb and krill dependencies. - Build in Docker containers as GH runners have too many non-standard packages and libraries pre-installed. - Sanity check the created DEB in targeted O/S versions via LXC/LXD containers (for systemd support).
14 lines
342 B
Bash
14 lines
342 B
Bash
#!/bin/sh -e
|
|
|
|
KRILL_CONF="/etc/krill.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 ${KRILL_CONF} ]; then
|
|
rm ${KRILL_CONF}
|
|
fi
|
|
;;
|
|
esac |