mirror of
https://github.com/NLnetLabs/routinator.git
synced 2024-05-19 06:50:04 +00:00
16 lines
370 B
Plaintext
16 lines
370 B
Plaintext
![]() |
#!/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#
|