Commit bb8d4242 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-packages: add short support for pacman

parent 3a7201b3
...@@ -42,7 +42,11 @@ case $PMTYPE in ...@@ -42,7 +42,11 @@ case $PMTYPE in
CMD="pkg_info" CMD="pkg_info"
;; ;;
pacman) pacman)
CMD="pacman -Qs" CMD="pacman -Qs $pkg_filenames"
if [ -n "$short" ] ; then
docmd $CMD | sed -e "s| .*||g" -e "s|.*/||g" | grep -v "^$"
return
fi
;; ;;
npackd) npackd)
CMD="npackdcl list" CMD="npackdcl list"
......
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