Commit 051cd280 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-query: fix checking package presence via howbrew

parent f3d912a0
......@@ -235,7 +235,7 @@ __epm_query_name()
showcmd "brew info $1"
local HBRESULT
HBRESULT="$(brew info "$1" 2>/dev/null)" || return
echo "$HBRESULT" | grep -q -v "^Not installed" || return
echo "$HBRESULT" | grep -q "Not installed" && return 1
echo "$1"
return 0
;;
......
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