From: Theodore Ts'o Date: Thu, 12 May 2016 05:42:58 +0000 (-0400) Subject: debian: make e2fsprogs.postinst abort on error X-Git-Tag: v1.43-WIP-2016-05-12^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd80e987d7a62a4aee7a9a4fb167f707b312e9fa;p=thirdparty%2Fe2fsprogs.git debian: make e2fsprogs.postinst abort on error Also fix typo in the postinst script Signed-off-by: Theodore Ts'o --- diff --git a/debian/e2fsprogs.postinst b/debian/e2fsprogs.postinst index e0f895458..132925581 100644 --- a/debian/e2fsprogs.postinst +++ b/debian/e2fsprogs.postinst @@ -1,6 +1,9 @@ #!/bin/sh -upgrade-initramfs -u +# Abort on error. +set -e + +update-initramfs -u #DEBHELPER#