From: Axel Beckert Date: Sat, 7 Feb 2015 13:17:46 +0000 (+0100) Subject: Use "set -e" instead of "-e" option to sh in maintainer scripts X-Git-Tag: debian/2.1.2-2~14 X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=f60bd096df03d28be2b287916c86de6787f8c6a8;p=pkg%2Fblosxom.git Use "set -e" instead of "-e" option to sh in maintainer scripts --- diff --git a/debian/changelog b/debian/changelog index c60ca09..cf2b795 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ blosxom (2.1.2-2) UNRELEASED; urgency=medium * Apply patch by Chris Lamb to make the build reproducible. * Update my e-mail address. + * Use "set -e" instead of "-e" option to sh in maintainer scripts. -- Axel Beckert Sat, 07 Feb 2015 13:54:51 +0100 diff --git a/debian/postrm b/debian/postrm index 67ae3bc..cfba717 100644 --- a/debian/postrm +++ b/debian/postrm @@ -1,8 +1,10 @@ -#!/bin/sh -e +#!/bin/sh # postrm script for blosxom # copyright 2007-2008 by Gerfried Fuchs # Licenced in the same way as blosxom itself +set -e + # cleanup for old flavors that got installed by packages prior to 2.1.0 case "$1" in purge) diff --git a/debian/preinst b/debian/preinst index ff3f84e..c23cfbc 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 # Licenced in the same way as blosxom itself +set -e + rm_conffile() { PKGNAME="$1" CONFFILE="$2"