dist: refactoring, ship systemd services for Debian, fix section of re6stnet manpage
[re6stnet.git] / debian / postrm
1 #!/bin/sh
2 set -e
3
4 if [ "$1" = purge ]; then
5   # https://lists.debian.org/debian-mentors/2015/12/msg00367.html
6   [ -x /usr/sbin/re6stnet ] && exit
7   for d in lib log; do
8     d=/var/$d/re6stnet
9     [ ! -d "$d" ] || rm -r "$d" || :
10   done
11 fi
12
13 #DEBHELPER#