Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14703 > unrolled thread

Re: Auto-update program cache feature

Started byBob Proulx <bob@proulx.com>
First post2018-10-08 11:35 -0600
Last post2018-10-08 11:35 -0600
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Auto-update program cache feature Bob Proulx <bob@proulx.com> - 2018-10-08 11:35 -0600

#14703 — Re: Auto-update program cache feature

FromBob Proulx <bob@proulx.com>
Date2018-10-08 11:35 -0600
SubjectRe: Auto-update program cache feature
Message-ID<mailman.1866.1539020137.1284.bug-bash@gnu.org>
Chet Ramey wrote:
> Bob Proulx wrote:
> > Put this in your ~/.bashrc file and I believe your use case will be
> > much happier.
> > 
> >   shopt -s checkhash
> 
> How many installers put a new version of an existing package into a
> possibly-different directory with a different name? Even using a symlink
> pointing to a new name would not trigger this behavior.

The use case (reading between the lines) had to do with ping-pong'ing
between /usr/bin and /usr/local/bin though.  And I know that without
checkhash that I used to see that condition too.  But with checkhash
the complaint (from me) went away entirely.  I admit I didn't look at
it in great detail here now because I have had checkhash in use for so
long and not seen this problem since.  I'll need to experiment.

Bob

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web