]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r259266:
authorbdrewery <bdrewery@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 19 Dec 2013 12:33:24 +0000 (12:33 +0000)
committerbdrewery <bdrewery@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 19 Dec 2013 12:33:24 +0000 (12:33 +0000)
commitddceb0aaee74b241e335ab69b5b40b9ed7eff04f
tree964674ab24dbfba1742e814368fc0418f36b60e5
parent29da986ea485f1f052282a9caa92a0174525b880
MFC r259266:

  Fix multi-repository support by properly respecting 'enabled' flag.

  This will read the REPOS_DIR env/config setting (default is /etc/pkg
  and /usr/local/etc/pkg/repos) and use the last enabled repository.

  This can be changed in the environment using a comma-separated list,
  or in /usr/local/etc/pkg.conf with JSON array syntax of:
      REPOS_DIR: ["/etc/pkg", "/usr/local/etc/pkg/repos"]

Approved by: bapt (mentor)

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