delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/03/08:56:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Dave Korn" <dk AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: INFO Death
Date: Wed, 3 Nov 2004 13:55:08 -0000
MIME-Version: 1.0
In-Reply-To: <4188A53C.7070902@familiehaase.de>
Message-ID: <NUTMEGbcaQUXPXF2aZc0000044d@NUTMEG.CAM.ARTIMI.COM>
X-OriginalArrivalTime: 03 Nov 2004 13:55:08.0250 (UTC) FILETIME=[BA9B6BA0:01C4C1AC]

> -----Original Message-----
> From: cygwin-owner On Behalf Of Gerrit P. Haase
> Sent: 03 November 2004 09:31

> Arthur I Schwarz wrote:

> > Symptoms:
> >    >> info info
> >    info: dir: No such file or directory
> 
> Reinstall the _update_info_dir package or run:
> $ sh /etc/postinstall/update-info-dir.sh.done


  Hey!  That script's a bit harsh:

-------------------------<snip!>-------------------------
dk AT mace /artimi> cat /etc/postinstall/update-info-dir.
sh.done
#!/bin/sh
rm -f /usr/info/dir
for d in /usr/info /usr/share/info; do
    for f in $d/*; do
        case "$f" in
            *\**)
                ;;
            dir|dir.info*)
                ;;
            *-[0123456789]*)
                ;;
            *)
                install-info --quiet $f /usr/share/info/dir ||
                install-info  --quiet --entry="* $$f ($f): $$f" $$f
/usr/share/info/dir
                ;;
        esac
    done
done >/dev/null 2>&1
-------------------------<snip!>-------------------------

because surely that means that if you've got lots of dirs in your $INFOPATH,
e.g. 

> INFOPATH=/usr/local/info:/usr/info:/usr/share/info:/usr/autoto
> ol/devel/info:/usr/autotool/stable/info:

and you've gone and rebuilt the info index so you can read all your local
info, that's going to un-do it, isn't it?  Should it perhaps say

> for d in /usr/info /usr/share/info ${INFOPATH} do

(modulo perhaps eliminating duplicates)?

    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....


--
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/

- Raw text -


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