delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/24/11:52:03

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
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: Upgraded man command
Date: Wed, 24 Nov 2004 11:50:59 -0500
Message-ID: <BADF3C947A1BD54FBA75C70C241B0B9E90BD45@ex02.svr.idirect.net>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Harig, Mark" <maharig AT idirect DOT net>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id iAOGpuxg024732

> -----Original Message-----
> From: Igor Pechtchanski
> Sent: Wednesday, November 24, 2004 11:32 AM
> To: Andy Hall
> Subject: RE: Upgraded man command
> 
> Andy,
> 
> Do you have both /etc/postinstall/man.sh and 
> /etc/postinstall/man.sh.done?
> If so, then the newer version of the postinstall script has 
> not completed
> properly.  I'd run /etc/postinstall/man.sh and then rename it to
> /etc/postinstall/man.sh.done.  If the only thing you have is
> /etc/postinstall/man.sh.done, then that's the script that 
> you'll need to
> re-run (don't worry about the timestamp, it doesn't have to 
> be after the
> install time).  When you copied the default config file, you 
> did part of
> the job of that postinstall script (AFAICS, creating 
> manpath.exe is the
> other part, hence the question).

It's possible that he had the same problem I did,
which is that /usr/share/misc/man.conf did not have
write permission turned on (and so the file copying
operation failed).

Possibly, the following code in /etc/postinstall/man.sh
should be changed:

   if [ ! -e ${datadir}/misc/man.conf ] ; then
      cp ${datadir}/misc/man.conf.default ${datadir}/misc/man.conf
      chmod 644 ${datadir}/misc/man.conf
   fi

to:

   if [ ! -e ${datadir}/misc/man.conf ] ; then
      chmod 644 ${datadir}/misc/man.conf
      cp ${datadir}/misc/man.conf.default ${datadir}/misc/man.conf
   fi

----

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