]> git.deb.at Git - pkg/blosxom.git/blob - debian/postrm
Updated blosxom.conf with additional default values.
[pkg/blosxom.git] / debian / postrm
1 #!/bin/sh -e
2 # postrm script for blosxom
3 # copyright 2007-2008 by Gerfried Fuchs <rhonda@debian.at>
4 # Licenced in the same way as blosxom itself
5
6 # cleanup for old flavors that got installed by packages prior to 2.1.0
7 case "$1" in
8     purge)
9         if [ -d /var/lib/blosxom/data/flavours ] ; then
10                 cd /var/lib/blosxom/data/flavours
11                 for i in content_type.1993 content_type.html content_type.index \
12                         date.1993  date.html  date.index \
13                         foot.1993  foot.html  foot.index \
14                         head.1993  head.html  head.index \
15                         story.1993 story.html story.index ; do
16                         test ! -L $i || rm $i
17                 done
18         fi
19     ;;
20 esac
21
22 exit 0