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:
7
debian/i2p.postrm
vendored
7
debian/i2p.postrm
vendored
@ -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#
|
||||||
|
Reference in New Issue
Block a user