From 9ac75ac8b8d309493c7aa64d14f08bcd14b8afad Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 21 Aug 2012 20:54:07 +0000 Subject: ignore fontconfig.prov exit code (mga#7078) which is random rationale: it runs fc-query on every path matching /usr/share/fonts so its error code is the the one of the latest fc-query whose argument can be a directory or fonts.scale ... --- find-provides.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'find-provides.in') diff --git a/find-provides.in b/find-provides.in index c14ef6d..e64b34f 100755 --- a/find-provides.in +++ b/find-provides.in @@ -103,8 +103,7 @@ fi # # --- fonts [ -x @RPMLIBDIR@/fontconfig.prov ] && - echo "$filelist" | tr '[:blank:]' \\n | @RPMLIBDIR@/fontconfig.prov --provides | sort -u \ - && test ${PIPESTATUS[2]} -ne 0 && echo 'error: @RPMLIBDIR@/fontconfig.prov failed' >&2 && exit 1 + echo "$filelist" | tr '[:blank:]' \\n | @RPMLIBDIR@/fontconfig.prov --provides | sort -u # # --- typelib() gobject-introspection bindings -- cgit v1.2.1