aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2021-02-18 03:41:53 +0000
committerKyle Evans <kevans@FreeBSD.org>2021-08-06 19:25:07 +0000
commit40b9f924b189ce8fa871db600b4abc99b03c6a65 (patch)
tree2c59cd596800997a8705eff6ac26e8efd3899ee5 /contrib
parent34e7e4b6a059eee5e4e3e34de5b9d5f0d6e589f9 (diff)
pkg: allow multiple add arguments again
While pkg(7) add only handles a single 'add' argument, pkg-add(8) fully handles multiple arguments. Stop rejecting it, just turn off local-bootstrap mode and proceed to remote bootstrap if we need it. While we're here, check if the first argument to pkg add is even a pkg package. If it's not, also do remote bootstrap instead. Future work could improve this altogether by picking out a pkg package out of many and local bootstrap then pass the rest through to the newly installed pkg. Reviewed by: bapt, manu (earlier version) MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D28766
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions