Commit a5a27e3b authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-query: use default method via list of the installed packages

parent 49bc1df0
...@@ -231,14 +231,14 @@ __epm_query_name() ...@@ -231,14 +231,14 @@ __epm_query_name()
conary) conary)
CMD="conary query" CMD="conary query"
;; ;;
homebrew) #homebrew)
showcmd "brew info $1" # showcmd "brew info $1"
local HBRESULT # local HBRESULT
HBRESULT="$(brew info "$1" 2>/dev/null)" || return # HBRESULT="$(brew info "$1" 2>/dev/null)" || return
echo "$HBRESULT" | grep -q "Not installed" && return 1 # echo "$HBRESULT" | grep -q "Not installed" && return 1
echo "$1" # echo "$1"
return 0 # return 0
;; # ;;
pacman) pacman)
docmd pacman -Q $@ docmd pacman -Q $@
return return
......
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