Subject: Re: pkg_install change proposals
To: None <agc@wasabisystems.com>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-pkg
Date: 07/10/2002 23:17:16
From: Alistair Crooks <agc@wasabisystems.com>
Subject: Re: pkg_install change proposals
Date: Wed, 10 Jul 2002 14:49:57 +0200
> On Wed, Jul 10, 2002 at 09:36:48PM +0900, YAMAMOTO Takashi wrote:
> > From: Alistair Crooks <agc@wasabisystems.com>
> > Subject: Re: pkg_install change proposals
> > Date: Wed, 10 Jul 2002 14:22:20 +0200
> > 
> > > > - don't prefer local pkgs over remote ones.
> > > 
> > > Personally, I don't like this at all - I prefer local packages over remote
> > > ones all the time.
> > > 
> > > > - don't search pkgs in current directory if PKG_PATH is specified.
> > > 
> > > Again, I'd feel happier leaving the current behaviour as it is - is there
> > > any specific reason that you want to change it?
> > 
> > if you want current behavior, settings like following isn't enough?
> > PKG_PATH=.;/local/dir;/local/dir2;ftp://some/remote/place;ftp://other/place
> 
> Yes, that would work for me. As would setting it to:
> 
> PKG_PATH=ftp://some/remote/place;ftp://other/place
> 
> for you. However, my question was why you are wanting to change the
> *default* behaviour?

what i want is e.g. "remote dir first".
IIRC, there is no way to do it currently.

even when PKG_PATH=ftp://remote/dir;/local/dir,
pkg_add will seach pkgs in following order.
1. current dir
2. /local/dir
3. ftp://remote/dir

---
YAMAMOTO Takashi<yamt@mwd.biglobe.ne.jp>