On Fri, Jan 06, 2006 at 04:53:09AM +0100, Vincent Lefevre wrote: > When LOCATE_PATH is defined, the databases in $LOCATE_PATH are > searched instead of the default one. > > Before the change, I was using > * "slocate" to search the default database. > * "slocate -d $LOCATE_PATH" to search the databases in $LOCATE_PATH. > > Now "slocate" search only the databases in $LOCATE_PATH (when defined).
oops, juse to be more clear, anything in the environment var LOCATE_PATH will always be searched regardless. ie, This will search both db1.db and db2.db, but not the default database: LOCATE_PATH=db1.db slocate -d db2.db foo This will search both db1.db and the default database: LOCATE_PATH=db1.db slocate foo This is what I gather from looking at the old code. Kevin- -- Kevin Lindsay <[EMAIL PROTECTED]> PGP Key Id: 746C51F4 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]