Hi GNUser
... No autoupdate would also be a gotcha for less experienced users. ...
There will be an auto update (zsync) by default for that very reason. I think
15 minutes is long enough for most users to not get in the way when doing
multiple searches.
Also, unless you're the unluckiest person in the world, and the item you are
searching for gets added to provides.db in between auto updates, is short
enough not to cause problems.
... P.S. Folks that want maximum speed or more granular control can use the environmental variable you proposed to stop db updates (and/or you could add a "no db update" flag).
That's already in place. Including -nz (no zsync) in the command tells
provides.sh not to call UpdateProvidesDB().
Latest version attached. Give it a shake and let me know if any bugs fall out.
I'll start looking into adding an environmental variable for advanced users.