chiark / gitweb /
wip make it compile
[inn-innduct.git] / debian / inn2.postrm
1 #!/bin/sh -e
2
3 if [ "$1" = "purge" ]; then
4   update-rc.d inn2 remove >/dev/null
5   if [ -e /var/lib/news/ ]; then
6     rm -f /var/lib/news/.news.daily /var/lib/news/active* \
7       /var/lib/news/newsgroups /var/lib/news/history*
8     rmdir --ignore-fail-on-non-empty /var/lib/news/
9   fi
10 fi
11
12 #DEBHELPER#
13
14 exit 0