Debian: Remove service directory when package is purged

This was in the 0.9.11 packages but not checked into mtn.
This commit is contained in:
kytv
2014-03-13 02:31:23 +00:00
parent bfba732f76
commit 5d1796bb6f

7
debian/i2p.postrm vendored
View File

@ -1,7 +1,12 @@
#!/bin/sh -e #!/bin/sh
set -e
if [ "$1" = "purge" ]; then if [ "$1" = "purge" ]; then
rm -f /etc/default/i2p rm -f /etc/default/i2p
rm -rf /var/lib/i2p
rm -rf /var/log/i2p
rm -rf /etc/i2p
fi fi
#DEBHELPER# #DEBHELPER#