Commit bb46e010 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-query-file: fix --short for apt

parent 87f669bb
...@@ -136,9 +136,9 @@ __do_short_query() ...@@ -136,9 +136,9 @@ __do_short_query()
*-rpm) *-rpm)
CMD="rpm -qf --queryformat %{NAME}\n" CMD="rpm -qf --queryformat %{NAME}\n"
;; ;;
NOapt-dpkg) apt-dpkg)
showcmd dpkg -S "$1" showcmd dpkg -S "$1"
dpkg_print_name_version "$(dpkg -S $1 | sed -e "s|:.*||" | grep -v "^diversion by")" a= dpkg -S $1 | sed -e "s|:.*||"
return ;; return ;;
NOemerge) NOemerge)
assure_exists equery assure_exists equery
......
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