On Mon, Mar 23, 2009 at 04:49:58PM +0100, Stephan A. Rickauer wrote:
| What magic do I miss to cache packages in PKG_CACHE? Must be really
| obvious, but I can't spot it.
| 
| # PKG_CACHE=/tmp
| # echo $PKG_CACHE
| /tmp
| # pkg_add -x nano
| Adding nano-2.0.7
| # ls -l /tmp/         
| 
| (empty)

exporting the variable :

[p...@office414] $ export PKG_CACHE=/tmp/pkgs
[p...@office414] $ mkdir /tmp/pkgs
[p...@office414] $ sudo pkg_add -x nano
Adding nano-2.0.9
[p...@office414] $ ls -l /tmp/pkgs
total 800
-rw-r--r--  1 root  wheel  386855 Mar 23 16:57 nano-2.0.9.tgz

Cheers,

Paul 'WEiRD' de Weerd

-- 
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/                 

Reply via email to