lokinet/debian/lokinet.postrm

14 lines
272 B
Plaintext
Raw Normal View History

#!/bin/sh
set -e
if [ "$1" = purge ]; then
ucf --purge /etc/loki/lokinet.ini
ucfr --purge lokinet /etc/loki/lokinet.ini
rm -f /etc/loki/lokinet.ini
rm -rf /var/lib/lokinet/{*.{signed,private},lokinet.pid,metrics.json,profiles.dat,netdb}
fi
#DEBHELPER#