]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r257505:
authorbdrewery <bdrewery@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 4 Nov 2013 13:01:29 +0000 (13:01 +0000)
committerbdrewery <bdrewery@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 4 Nov 2013 13:01:29 +0000 (13:01 +0000)
commit3ffb5b945eae797472a3f3debddc6467b7b2ee39
tree352383a838fee1eadb35f26d17c02e1458bd41c1
parentf91c01377185cd119ae1fb0072d34c78c905e137
MFC r257505:

  Add -f support to 'pkg bootstrap' and 'pkg add' to force installation
  of pkg(8) even if already installed.

  This is useful if you somehow messup pkg(8) and need to reinstall from
  remote with it already being registered in the pkg(8) /var/db/pkg database.

  Also add some sanity checks to 'pkg add'.

Approved by: bapt
Approved by: re (glebius)

git-svn-id: svn://svn.freebsd.org/base/stable/10@257632 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/pkg/pkg.7
usr.sbin/pkg/pkg.c