lokinet/debian/lokinet.postrm
Jason Rhinelander 1c34ed97fa Rename split packages to lokinet{,-bin,-router}
- lokinet is the package that configures a lokinet client
- lokinet-router configures a lokinet router
- lokinet-bin contains the binaries both of the above require
2019-10-29 16:16:55 -03:00

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#