aboutsummaryrefslogtreecommitdiffstats
path: root/find-provides.in
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-03-13 20:20:09 +0000
committerNicolas Vigier <boklm@mageia.org>2011-03-13 20:20:09 +0000
commitd5ad8abe300c2da4bad79faf952673246bd00c47 (patch)
treee1f9e42089a3ae2a3b664b6c330e08c4ca48be58 /find-provides.in
parent58d76c079721fa089a2ead43167cc6acfa6cc5be (diff)
downloadrpm-setup-d5ad8abe300c2da4bad79faf952673246bd00c47.tar
rpm-setup-d5ad8abe300c2da4bad79faf952673246bd00c47.tar.gz
rpm-setup-d5ad8abe300c2da4bad79faf952673246bd00c47.tar.bz2
rpm-setup-d5ad8abe300c2da4bad79faf952673246bd00c47.tar.xz
rpm-setup-d5ad8abe300c2da4bad79faf952673246bd00c47.zip
add fontconfig.prov provides script1.123
Diffstat (limited to 'find-provides.in')
-rwxr-xr-xfind-provides.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/find-provides.in b/find-provides.in
index bed7c13..3fdf3cf 100755
--- a/find-provides.in
+++ b/find-provides.in
@@ -80,6 +80,12 @@ done | sort -u
echo "$filelist" | tr '[:blank:]' \\n | @RPMVENDORDIR@/pkgconfigdeps.sh -P | sort -u \
&& test ${PIPESTATUS[2]} -ne 0 && echo 'error: @RPMVENDORDIR@/pkgconfigdeps.sh failed' >&2 && exit 1
+#
+# --- fonts
+[ -x @RPMVENDORDIR@/fontconfig.prov ] &&
+ echo "$filelist" | tr '[:blank:]' \\n | @RPMVENDORDIR@/fontconfig.prov --provides | sort -u \
+ && test ${PIPESTATUS[2]} -ne 0 && echo 'error: @RPMVENDORDIR@/fontconfig.prov failed' >&2 && exit 1
+
if [ -n "$LIBTOOLDEP" ]; then
#
# --- libtooldep deps