Quote:
Originally Posted by DNAeon
First this is not a new pkg_add command, it's a pkg_add command which acts a little bit different . The idea about it came when a guy from another forum was asking about how to make pkg_add to look first in some local path and if the package was not there then pkg_add should install it from a remote ftp server.
|
You can sort of already do this with pkg_replace, which is in ports:
Code:
export PKGREPO=/usr/mypackages
export PACKAGEROOT=""
pkg_replace -P $PKGREPO/file.tgz
Granted your way seems to tie this together a lot easier, and this won't search online after it's done there anyway.