Lines Matching full:pkg
167 # Detect installed packages. Currently this uses pkg-query(8) for querying
173 for package in $( pkg query "%n-%v" ); do
199 local pkg varpkg mark cat varcat pkgcat n tselected=0 tinstalled=0
205 for pkg in $SELECTED_PACKAGES; do
206 f_str2varname $pkg varpkg
238 local pkg varpkg mark rundeps dep vardep
244 for pkg in $SELECTED_PACKAGES; do
245 f_str2varname $pkg varpkg
250 f_dprintf "%s unselected" $pkg
252 f_package_deselect $pkg
260 for pkg in $SELECTED_PACKAGES; do
261 f_str2varname $pkg varpkg
264 # Skip pkg unless marked for [Re-]Install
430 f_eval_catch -k __index $__funcname pkg \
431 "pkg rquery -a '%s'" "%n|%o||%c"
433 f_eval_catch -k __index $__funcname pkg \
434 "pkg rquery -g '%s' '%s/\*'" "%n|%o||%c" "$category"
867 # $pkg may be a partial name, search the index (this is slow)
959 f_musthavepkg_init # Make sure we have a usable pkg(8) with $PKG_ABI
1039 # Request the package be added via pkg-install(8)
1041 f_eval_catch $funcname pkg \
1042 'pkg -d install -${depended:+A}y "%s"' "$name"
1044 f_eval_catch $funcname pkg \
1045 'pkg install -${depended:+A}y "%s"' "$name"
1097 # $pkg may be a partial name, search the index (this is slow)
1174 f_eval_catch $funcname pkg 'pkg -d delete -y "%s"' "$name"
1176 f_eval_catch $funcname pkg 'pkg delete -y "%s"' "$name"
1182 f_dprintf "$funcname: pkg-delete(8) of %s successful" "$name"