Commit ebc2324d authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix epm query on Gentoo (disable colorifing for grep)

parent f4003d1a
...@@ -52,9 +52,10 @@ case $PMTYPE in ...@@ -52,9 +52,10 @@ case $PMTYPE in
CMD="rpm -qa $pkg_filenames" CMD="rpm -qa $pkg_filenames"
[ -n "$short" ] && CMD="rpm -qa --queryformat %{name}\n $pkg_filenames" [ -n "$short" ] && CMD="rpm -qa --queryformat %{name}\n $pkg_filenames"
;; ;;
# Note: dnf has dnf list command
emerge) emerge)
CMD="qlist -I" CMD="qlist -I -C"
# print with colors for console output
isatty && CMD="qlist -I"
;; ;;
pkgsrc) pkgsrc)
CMD="pkg_info" CMD="pkg_info"
......
...@@ -55,6 +55,7 @@ case $PMTYPE in ...@@ -55,6 +55,7 @@ case $PMTYPE in
docmd zypper sl -d docmd zypper sl -d
;; ;;
emerge) emerge)
docmd eselect profile list
docmd layman -L docmd layman -L
;; ;;
pacman) pacman)
......
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