From f60bd096df03d28be2b287916c86de6787f8c6a8 Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Sat, 7 Feb 2015 14:17:46 +0100 Subject: [PATCH] Use "set -e" instead of "-e" option to sh in maintainer scripts --- debian/changelog | 1 + debian/postrm | 4 +++- debian/preinst | 4 +++- 3 files changed, 7 insertions(+), 2 deletions(-) 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" -- 2.39.2