From f3e39c9b326d18fb4f71b0917fdd3a17e60a0e14 Mon Sep 17 00:00:00 2001 From: Gerfried Fuchs Date: Tue, 13 Jul 2010 16:13:16 +0200 Subject: [PATCH 1/1] Explicitly call set -e --- debian/changelog | 1 + debian/config | 4 +++- debian/postinst | 4 +++- debian/postrm | 4 +++- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 6fada5e..41d540a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,7 @@ beep (1.2.2-25) unstable; urgency=low * Bump Standards-Version to 3.9.0. * Add Vcs-* fields to control file. * Relicensed Debian packaging under WTFPLv2. + * Explicitly call set -e instead of -e on the hashbang line. -- diff --git a/debian/config b/debian/config index c0c4226..9cd24db 100644 --- a/debian/config +++ b/debian/config @@ -1,8 +1,10 @@ -#!/bin/sh -e +#!/bin/sh # debian/config file for beep # copyright 2002-2009 by Gerfried Fuchs # Licenced under WTFPLv2 +set -e + # Source debconf library. . /usr/share/debconf/confmodule diff --git a/debian/postinst b/debian/postinst index c72f477..2067f5b 100644 --- a/debian/postinst +++ b/debian/postinst @@ -1,8 +1,10 @@ -#!/bin/sh -e +#!/bin/sh # postinst for beep # copyright 2002-2009 by Gerfried Fuchs # Licenced under WTFPLv2 +set -e + # Source debconf library. if [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule diff --git a/debian/postrm b/debian/postrm index a1444aa..109fca0 100644 --- a/debian/postrm +++ b/debian/postrm @@ -1,8 +1,10 @@ -#!/bin/sh -e +#!/bin/sh # postrm for beep # copyright 2002-2009 by Gerfried Fuchs # Licenced under WTFPLv2 +set -e + if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule db_purge -- 2.39.2