[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Auto-update program cache feature
From: |
Bob Proulx |
Subject: |
Re: Auto-update program cache feature |
Date: |
Mon, 8 Oct 2018 11:35:14 -0600 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
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