-#!/bin/sh -e
+#!/bin/sh
# preinst script for blosxom
-# copyright 2007-2008 by Gerfried Fuchs <rhonda@debian.at>
+# copyright 2007-2008 by Rhonda D'Vine <rhonda@debian.org>
# Licenced in the same way as blosxom itself
+set -e
+
rm_conffile() {
PKGNAME="$1"
CONFFILE="$2"
story.1993 story.html story.index ; do
rm_conffile blosxom "/etc/blosxom/flavours/$i"
done
+ rm_conffile blosxom "/etc/blosxom/plugins/timezone"
fi
if [ -d /var/lib/blosxom/data/flavours ] ; then
cd /var/lib/blosxom/data/flavours
foot.1993 foot.html foot.index \
head.1993 head.html head.index \
story.1993 story.html story.index ; do
- test ! -L $i || test ! -f $i || rm $i
+ test ! -L $i || test -f $i || rm $i
done
fi
esac