View Single Post
  #5   (View Single Post)  
Old 24th September 2008
Weaseal's Avatar
Weaseal Weaseal is offline
Package Pilot
 
Join Date: May 2008
Location: East Coast, US
Posts: 177
Default

Quote:
Originally Posted by DNAeon View Post
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.
__________________
FreeBSD addict since 4.2-RELEASE.
My FreeBSD wiki.
Reply With Quote