ca-certificates is a package from Debian, but some host distros such as Fedora have a leaner run-parts provided by cron which doesn't support --verbose or the -- separator between arguments and paths. This solves errors such as | Running hooks in [...]/rootfs/etc/ca-certificates/update.d... | [...]/usr/sbin/update-ca-certificates: line 194: Not: command not found Upstream-Status: Inappropriate Signed-off-by: Ross Burton --- sbin/update-ca-certificates | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sbin/update-ca-certificates b/sbin/update-ca-certificates index fed9c25..29ecc69 100755 --- a/sbin/update-ca-certificates +++ b/sbin/update-ca-certificates @@ -186,9 +186,7 @@ echo "$ADDED_CNT added, $REMOVED_CNT removed; done." HOOKSDIR=$SYSROOT/etc/ca-certificates/update.d echo -n "Running hooks in $HOOKSDIR...." -VERBOSE_ARG= -[ "$verbose" = 0 ] || VERBOSE_ARG=--verbose -eval run-parts $VERBOSE_ARG --test -- $HOOKSDIR | while read hook +eval run-parts --test $HOOKSDIR | while read hook do ( cat $ADDED cat $REMOVED ) | $hook || echo E: $hook exited with code $?. -- 2.1.4