delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/06/20/15:58:38

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Mail-Followup-To: cygwin-apps AT cygwin DOT com
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
Message-ID: <3D12315D.2020604@netscape.net>
Date: Thu, 20 Jun 2002 15:47:41 -0400
From: Nicholas Wourms <nwourms AT netscape DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.0rc2) Gecko/20020512 Netscape/7.0b1
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Gareth Pearce <tilps AT hotmail DOT com>
CC: cwilson AT ece DOT gatech DOT edu, cygwin-apps AT sources DOT redhat DOT com
Subject: Re: [ITP]: Berkley DB v2
References: <F207f69aZbLAX3cf3ed00000195 AT hotmail DOT com>

> [SNIP]
> well its not me who has to handle the requests 'why is my db install 
> broken?'
> so I dont realy mind :P (not you either :P)
>
> I dont think it will be quite as rare - but i certainly dont have 
> close to the same level of experience as a maintainer as you.


Ok,

I've been thinking about this and I propose the following:

When I update a db package other then the latest sleepycat release, it 
will install scripts into /etc/profile.d (being sure I cover the sh & 
csh variants).  This script will do the following the next time a user 
fires up some sort of shell:

1)Scan the installed packages for which db's have been installed.
2)Inform the user that an update to an older db package has been preformed.
3)Prompt the user to select which version should be default.
4)Adjust symlinks as necessary.
5)Write results to a log file in /var/log.
6)Delete itself and any other variants of itself from /etc/profile.d

Again, this solution just popped into mind while reading your comments, 
so I haven't tested the feasibility.  I guess I'll just have to cross 
this bridge when I come to it.

Cheers,
Nicholas
(One of the db maintainers)


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019