Commit bf6acb0c authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm provides: add --direct support

parent 04471e12
...@@ -126,7 +126,11 @@ case $PMTYPE in ...@@ -126,7 +126,11 @@ case $PMTYPE in
;; ;;
esac esac
if [ -n "$short" ] ; then if [ -n "$direct" ] && [ "$CMD" = "rpm -q --provides" ] ; then
# do universal provides
docmd $CMD $pkg_names | sed -e 's| .*||' | grep -F "()"
a= $CMD $pkg_names | sed -e 's| .*||' | grep -v -E "^(lib|ld-linux)"
elif [ -n "$short" ] ; then
docmd $CMD $pkg_names | sed -e 's| .*||' docmd $CMD $pkg_names | sed -e 's| .*||'
else else
docmd $CMD $pkg_names docmd $CMD $pkg_names
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment