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