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


Groups > gnu.bash.bug > #14703

Re: Auto-update program cache feature

Path csiph.com!feeder.erje.net!2.eu.feeder.erje.net!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Bob Proulx <bob@proulx.com>
Newsgroups gnu.bash.bug
Subject Re: Auto-update program cache feature
Date Mon, 8 Oct 2018 11:35:14 -0600
Lines 20
Approved bug-bash@gnu.org
Message-ID <mailman.1866.1539020137.1284.bug-bash@gnu.org> (permalink)
References <CAH8yC8kgkFRBaq85Z-tf+4x+DNqEU1CD-iZMgzJ6nYge-N4Sgg@mail.gmail.com> <20181006141620667276256@bob.proulx.com> <cb31cfe6-f639-ffc0-70ba-38d4774e831a@case.edu>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Trace usenet.stanford.edu 1539020137 19192 208.118.235.17 (8 Oct 2018 17:35:37 GMT)
X-Complaints-To action@cs.stanford.edu
Cc Jeffrey Walton <noloader@gmail.com>
To bug-bash@gnu.org
Envelope-to bug-bash@gnu.org
Mail-Followup-To bug-bash@gnu.org, Jeffrey Walton <noloader@gmail.com>
Content-Disposition inline
In-Reply-To <cb31cfe6-f639-ffc0-70ba-38d4774e831a@case.edu>
User-Agent Mutt/1.10.1 (2018-07-13)
X-detected-operating-system by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy]
X-Received-From 96.88.95.61
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.21
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash/>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:14703

Show key headers only | View raw


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

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web