X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=debian%2Fpreinst;h=2635c367e0f89d388c9f65bc2e6bff3956d02f4e;hb=4280c18e949e633851bb1e50a77d78070c5592b3;hp=8f6bcd1cdd404da25bf7aa4379b68b9aded6b52b;hpb=da9b5b32601c825ad30e11d8a380a935341fd93c;p=pkg%2Fblosxom.git diff --git a/debian/preinst b/debian/preinst index 8f6bcd1..2635c36 100644 --- a/debian/preinst +++ b/debian/preinst @@ -1,8 +1,10 @@ -#!/bin/sh -e +#!/bin/sh # preinst script for blosxom -# copyright 2007-2008 by Gerfried Fuchs +# copyright 2007-2008 by Rhonda D'Vine # 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