Julien TOUCHE wrote:
> Robert wrote on 19/08/2006 13:01:
>> Julien TOUCHE wrote:
>>> a small question, when using a remote PKG_PATH, is there an option to
>>> pkg_add to keep downloaded files somewhere ?
>>> (so it can be used for other box)
>>>
>> As usual it's in the manpage. (PKG_CACHE)
> 
> sorry, i have checked it but quickly and doesn't search for this word.
> 
> the downloaded dir could only bet current dir it seems, right ?
> 
> thanks
> Regards
> 
>               Julien
> 
> 

What? Perhaps i'd understand that better in french. ;)

http://www.openbsd.org/cgi-bin/man.cgi?query=pkg_add
PKG_CACHE    If set, any package retrieved from a distant location will
             be copied to that directory as well.

If i get your reply right you want to know what the entry means?
Somehow i can't express this clearer than the manpage does.

Most likely you set PKG_PATH in your '.profile'. So just add:
PKG_CACHE=/tmp
export PKG_CACHE

Now when installing a package with pkg_add you'll have a copy of the
installed/downloaded package in '/tmp'. pkg_add will still look for
packages in the resources your specified in PKG_PATH.

Reply via email to