aboutsummaryrefslogtreecommitdiffstats
path: root/find-provides.in
diff options
context:
space:
mode:
authorDexter Morgan <dmorgan@mageia.org>2011-12-28 00:15:29 +0000
committerDexter Morgan <dmorgan@mageia.org>2011-12-28 00:15:29 +0000
commit320372c2a454ab66c01456699ecebcbc3ad122ce (patch)
tree7a1442efe439863edb621df30be353870763bbb0 /find-provides.in
parent7fbb16921d42684fd499498176e1c23c1bd6f96b (diff)
downloadrpm-setup-320372c2a454ab66c01456699ecebcbc3ad122ce.tar
rpm-setup-320372c2a454ab66c01456699ecebcbc3ad122ce.tar.gz
rpm-setup-320372c2a454ab66c01456699ecebcbc3ad122ce.tar.bz2
rpm-setup-320372c2a454ab66c01456699ecebcbc3ad122ce.tar.xz
rpm-setup-320372c2a454ab66c01456699ecebcbc3ad122ce.zip
Use upstream desktop-file.prov as we had exactly the same file
Diffstat (limited to 'find-provides.in')
-rwxr-xr-xfind-provides.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/find-provides.in b/find-provides.in
index c9c163e..3adf346 100755
--- a/find-provides.in
+++ b/find-provides.in
@@ -82,9 +82,9 @@ done | sort -u
#
# --- 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
+[ -x @RPMLIBDIR@/desktop-file.prov ] &&
+ echo "$filelist" | tr '[:blank:]' \\n | @RPMLIBDIR@/desktop-file.prov --provides | sort -u \
+ && test ${PIPESTATUS[2]} -ne 0 && echo 'error: @RPMLIBDIR@/desktop-file.prov failed' >&2 && exit 1
#
# --- fonts