-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support PKG_INSTALL_DIR and redo pkg_install setup.
Bring in the latest pkgdb.c from pkg_install and greatly simplify it so that we only have functions for setting and getting the PKG_DBDIR path. None of the other database functions were ever used and could have caused issues depending on if db185 was present. Add a new setup_pkg_install() which configures pkg_install, and determine PKG_DBDIR only from pkg_admin, removing the possibility of defaulting to a compiled-in default that could be completely wrong. Add support for a PKG_INSTALL_DIR environment variable that allows a different pkg_install suite to be used. This is primarily useful for the pkgin test suite.
- Loading branch information
Jonathan Perkin
committed
Apr 25, 2018
1 parent
f3b9d98
commit 84dddcf
Showing
11 changed files
with
130 additions
and
374 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.