From: Gerfried Fuchs Date: Tue, 13 Jul 2010 14:13:16 +0000 (+0200) Subject: Explicitly call set -e X-Git-Tag: debian/1.3-1~6 X-Git-Url: https://git.deb.at/?p=pkg%2Fbeep.git;a=commitdiff_plain;h=f3e39c9b326d18fb4f71b0917fdd3a17e60a0e14;hp=5b5b994619460ee3b318e6b01f516fd99cc3264a Explicitly call set -e --- 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