]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
debian: make e2fsprogs.postinst abort on error v1.43-WIP-2016-05-12
authorTheodore Ts'o <tytso@mit.edu>
Thu, 12 May 2016 05:42:58 +0000 (01:42 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 12 May 2016 05:51:46 +0000 (01:51 -0400)
Also fix typo in the postinst script

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debian/e2fsprogs.postinst

index e0f895458146c384e1e7b7d43c24a1d49cbec966..13292558135495a5a446a78c304c8eeecca18476 100644 (file)
@@ -1,6 +1,9 @@
 #!/bin/sh
 
-upgrade-initramfs -u
+# Abort on error.
+set -e
+
+update-initramfs -u
 
 #DEBHELPER#