]> git.deb.at Git - pkg/blosxom.git/blobdiff - debian/preinst
add closes
[pkg/blosxom.git] / debian / preinst
index 8f6bcd1cdd404da25bf7aa4379b68b9aded6b52b..2635c367e0f89d388c9f65bc2e6bff3956d02f4e 100644 (file)
@@ -1,8 +1,10 @@
-#!/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"
@@ -32,6 +34,7 @@ install|upgrade)
                        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