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@"