X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=debian%2Fpostinst;h=198c57e0bc245aedc61c54dbcc17d1ee34ab1c33;hb=71f3c5ff76042947bdfb00922197d48477908c98;hp=96be353d495e9e301e657d9df70c9fbce43dde69;hpb=651f4734c175775da1d2b83298cfb18284cc8f5b;p=ca-certificates.git 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:]]*//' }