Commit 1eb68b3d authored by Vitaly Lipatov's avatar Vitaly Lipatov

brew fixes

parent 138138ea
...@@ -120,6 +120,9 @@ __epm_filelist_name() ...@@ -120,6 +120,9 @@ __epm_filelist_name()
assure_exists equery assure_exists equery
CMD="equery files" CMD="equery files"
;; ;;
homebrew)
CMD="brew list"
;;
pkgng) pkgng)
CMD="pkg info -l" CMD="pkg info -l"
;; ;;
......
...@@ -128,7 +128,7 @@ case $PMTYPE in ...@@ -128,7 +128,7 @@ case $PMTYPE in
fi fi
;; ;;
homebrew) homebrew)
CMD="brew list $pkg_filenames" CMD="brew list"
;; ;;
ipkg) ipkg)
CMD="ipkg list" CMD="ipkg list"
...@@ -174,7 +174,7 @@ case $PMTYPE in ...@@ -174,7 +174,7 @@ case $PMTYPE in
;; ;;
esac esac
docmd $CMD | __fopfn docmd $CMD | __fo_pfn
# FIXME: we print empty lines, but will lost error status # FIXME: we print empty lines, but will lost error status
} }
...@@ -228,8 +228,8 @@ __epm_query_shortname() ...@@ -228,8 +228,8 @@ __epm_query_shortname()
CMD="conary query" CMD="conary query"
;; ;;
homebrew) homebrew)
warning "fix query" docmd brew info "$1" >/dev/null 2>/dev/null
return 1 return
;; ;;
# TODO: need to print name if exists # TODO: need to print name if exists
#pkgng) #pkgng)
......
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