You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lokinet/debian/lokinet.postrm

14 lines
272 B
Bash

#!/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#