From 2469656db14d4315dfbfc98cc20e81c2cdd0bd96 Mon Sep 17 00:00:00 2001 From: intrigeri <intrigeri@boum.org> Date: Thu, 18 Aug 2011 03:48:56 +0200 Subject: [PATCH] preinst: use "set -e" in the script body instead of in the shebang. Detected by Lintian's maintainer-script-without-set-e check. --- debian/backupninja.preinst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/backupninja.preinst b/debian/backupninja.preinst index 21596aa..7adc8ed 100644 --- a/debian/backupninja.preinst +++ b/debian/backupninja.preinst @@ -1,4 +1,5 @@ -#!/bin/sh -e +#!/bin/sh +set -e # Remove the erroneous /etc/logrotate.d/backupninja directory if it exists -- GitLab