Commit e714a019 authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix epmqp for FreeBSD

parent cd465a9c
......@@ -63,7 +63,11 @@ case $PMTYPE in
return
;;
pkgng)
CMD="pkg info -E $pkg_filenames"
if [ -n "$pkg_filenames" ] ; then
CMD="pkg info -E $pkg_filenames"
else
CMD="pkg info"
fi
if [ -n "$short" ] ; then
docmd $CMD | sed -e "s| .*||g" | sed -e "s|-[0-9].*||g"
else
......
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