Permalink
Browse files

Use pkg rquery when checking for programs available version

  • Loading branch information...
1 parent dc3a1ab commit 42c6cfd76be3ed29e7d8d17b924f3325cf484f42 @kmoore134 kmoore134 committed Nov 8, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src-sh/pbi-manager10/pbi-manager
@@ -1638,7 +1638,7 @@ get_pbi_progversion() {
# Check first if we have this pkg in PKGNG
if [ -e "/usr/local/sbin/pkg-static" -a -n "${PBI_MAKEPORT}" ] ; then
- local testPkgVer="`pkg query %v ${PBI_MAKEPORT}`"
+ local testPkgVer="`pkg rquery %v ${PBI_MAKEPORT}`"
if [ -n "$testPkgVer" ] ; then
export PBI_PROGVERSION="$testPkgVer"
return 0

0 comments on commit 42c6cfd

Please sign in to comment.