From 072800f89a136bb5da44627f25599d3060cca0a1 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 6 Jan 2016 15:49:37 +0000 Subject: postinst-intercepts: always use set -e If a postinst has a problem (say, qemu crashes) and set -e isn't in operation, the only mention of the problem is a single line in the rootfs log that doesn't trigger any warnings. Signed-off-by: Ross Burton --- scripts/postinst-intercepts/update_font_cache | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts/postinst-intercepts/update_font_cache') diff --git a/scripts/postinst-intercepts/update_font_cache b/scripts/postinst-intercepts/update_font_cache index 2e6daedeb5..bf65e19a41 100644 --- a/scripts/postinst-intercepts/update_font_cache +++ b/scripts/postinst-intercepts/update_font_cache @@ -1,5 +1,7 @@ #!/bin/sh +set -e + PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D/${libdir}:$D/${base_libdir} \ -E ${fontconfigcacheenv} $D${bindir}/fc-cache --sysroot=$D --system-only ${fontconfigcacheparams} chown -R root:root $D${fontconfigcachedir} -- cgit v1.2.3