From: Michael Shuler Date: Sun, 11 Dec 2011 20:17:21 +0000 (-0600) Subject: Fix lintian maintainer-script-without-set-e postinst X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=67b978f6bd72a1b0dcef78407a85b5c7b1f68c39;hp=ef222a291b99e91928481a9c0ae417a982195798;p=ca-certificates.git Fix lintian maintainer-script-without-set-e postinst --- diff --git a/debian/postinst b/debian/postinst index 96be353..198c57e 100644 --- a/debian/postinst +++ b/debian/postinst @@ -1,4 +1,4 @@ -#! /bin/sh -e +#! /bin/sh # postinst script for ca-certificates # # see: dh_installdeb(1) @@ -20,6 +20,8 @@ # installation fails and the `postinst' is called with `abort-upgrade', # `abort-remove' or `abort-deconfigure'. +set -e + each_value() { echo "$1" |tr ',' '\n' | sed -e 's/^[[:space:]]*//' }