OSDN Git Service

debian: make e2fsprogs.postinst abort on error
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 e0f8954..1329255 100644 (file)
@@ -1,6 +1,9 @@
 #!/bin/sh
 
-upgrade-initramfs -u
+# Abort on error.
+set -e
+
+update-initramfs -u
 
 #DEBHELPER#