Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Sat, 9 Oct 2004 16:19:36 -0400
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: PostInstallLast addons?
Message-ID: <20041009201936.GA11424@trixie.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <4162386A.1080009@pastornet.net.au> <20041005084757.GK6702@cygbert.vinschen.de> <opsfkud1qltsbnf7@c500> <ck922h$5dm$2@sea.gmane.org> <41681FAE.7050508@x-ray.at>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <41681FAE.7050508@x-ray.at>
User-Agent: Mutt/1.4.1i

On Sat, Oct 09, 2004 at 07:28:14PM +0200, Reini Urban wrote:
>Robert R Schneck schrieb:
>>lex ein wrote:
>>>6. If a user has by some miracle heard of 'locate', a search using 
>>>'locate  openssh' produces no results unless the user first runs 
>>>'updatedb'.
>>
>>Would it be appropriate for the PostInstallLast part of setup which 
>>"updates info dir" to also run makewhatis?  And perhaps even updatedb?
>
>Very unlikely.
>These are quite massive processes in contrary to _update-info-dir
>
>Maybe detached in the background.  Or if someone writes an updatewhatis
>which gets the filelist of the new man files.  Same for updatedb which
>should accept a new argument for the package MANIFEST to be merged
>into.
>
>How about other distros?

Other distros must do this somehow.  It can't just be done as a result
of installing a man-pages package or something.

I guess, if we were really clever, we could update the apropos
"database" as we are installing man pages.  That would probably require
some not-inconsiderable setup.exe effort, though.

Boy, I started a makewhatis at the start of this message.  It's been
a few minutes, and it's still going.

<pause>

It took *seven* minutes to complete (cygwin sucks.  why is it so slow?
discuss amongst yourselves) I guess we really can't add this to the
setup process.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

