aboutsummaryrefslogtreecommitdiffstats
path: root/find-provides.in
diff options
context:
space:
mode:
authorFunda Wang <fwang@mageia.org>2011-07-06 05:50:13 +0000
committerFunda Wang <fwang@mageia.org>2011-07-06 05:50:13 +0000
commit0932515fd3934d60b28b98a6c7e0eddb769f5ce3 (patch)
tree45a301194f2f7f8a566264910e4ca61fcba21564 /find-provides.in
parentac6820baf548b5bc524dc3fa472d135b86808442 (diff)
downloadrpm-setup-0932515fd3934d60b28b98a6c7e0eddb769f5ce3.tar
rpm-setup-0932515fd3934d60b28b98a6c7e0eddb769f5ce3.tar.gz
rpm-setup-0932515fd3934d60b28b98a6c7e0eddb769f5ce3.tar.bz2
rpm-setup-0932515fd3934d60b28b98a6c7e0eddb769f5ce3.tar.xz
rpm-setup-0932515fd3934d60b28b98a6c7e0eddb769f5ce3.zip
1.134: add mimehandler autoprov for desktop files1.134
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 3fdf3cf..cdfd147 100755
--- a/find-provides.in
+++ b/find-provides.in
@@ -81,6 +81,12 @@ done | sort -u
&& test ${PIPESTATUS[2]} -ne 0 && echo 'error: @RPMVENDORDIR@/pkgconfigdeps.sh failed' >&2 && exit 1
#
+# --- mimehandler
+[ -x @RPMVENDORDIR@/desktop-file.prov ] &&
+ echo "$filelist" | tr '[:blank:]' \\n | @RPMVENDORDIR@/desktop-file.prov --provides | sort -u \
+ && test ${PIPESTATUS[2]} -ne 0 && echo 'error: @RPMVENDORDIR@/desktop-file.prov failed' >&2 && exit 1
+
+#
# --- fonts
[ -x @RPMVENDORDIR@/fontconfig.prov ] &&
echo "$filelist" | tr '[:blank:]' \\n | @RPMVENDORDIR@/fontconfig.prov --provides | sort -u \