From d4ad20c17da8a809d4966752d319266309f58327 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Tue, 24 Jun 2014 11:45:47 +0200 Subject: [PATCH] Set -e in the body of the maintainers script --- debian/monitoring-plugins-basic.postinst | 4 +++- debian/monitoring-plugins-basic.postrm.in | 4 +++- debian/monitoring-plugins-standard.postinst | 4 +++- debian/monitoring-plugins-standard.postrm.in | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/debian/monitoring-plugins-basic.postinst b/debian/monitoring-plugins-basic.postinst index 75bde3e..a753cba 100644 --- a/debian/monitoring-plugins-basic.postinst +++ b/debian/monitoring-plugins-basic.postinst @@ -1,4 +1,6 @@ -#!/bin/sh -e +#!/bin/sh + +set -e templdir=/usr/share/monitoring-plugins/templates-basic . /usr/share/monitoring-plugins/dpkg/functions diff --git a/debian/monitoring-plugins-basic.postrm.in b/debian/monitoring-plugins-basic.postrm.in index 3e85a5d..b65cc9d 100644 --- a/debian/monitoring-plugins-basic.postrm.in +++ b/debian/monitoring-plugins-basic.postrm.in @@ -1,4 +1,6 @@ -#!/bin/sh -e +#!/bin/sh + +set -e BASIC_PLUGINS="@BASIC_PLUGINS@" diff --git a/debian/monitoring-plugins-standard.postinst b/debian/monitoring-plugins-standard.postinst index 8cf6b95..d4dd594 100644 --- a/debian/monitoring-plugins-standard.postinst +++ b/debian/monitoring-plugins-standard.postinst @@ -1,4 +1,6 @@ -#!/bin/sh -e +#!/bin/sh + +set -e . /usr/share/monitoring-plugins/dpkg/functions templdir=/usr/share/monitoring-plugins/templates-standard diff --git a/debian/monitoring-plugins-standard.postrm.in b/debian/monitoring-plugins-standard.postrm.in index 903df45..a7ae07b 100644 --- a/debian/monitoring-plugins-standard.postrm.in +++ b/debian/monitoring-plugins-standard.postrm.in @@ -1,4 +1,6 @@ -#!/bin/sh -e +#!/bin/sh + +set -e STD_PLUGINS="@STD_PLUGINS@"