| delorie.com/archives/browse.cgi | search |
| 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 |
| Date: | Thu, 28 Mar 2002 15:44:44 +0100 |
| From: | "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de> |
| Reply-To: | "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de> |
| Organization: | Esse keine toten Tiere |
| X-Priority: | 3 (Normal) |
| Message-ID: | <186275042009.20020328154444@familiehaase.de> |
| To: | cygwin-apps AT cygwin DOT com, cygwin AT cygwin DOT com |
| Subject: | Re: "Install-Info" not found during installing CYGIN |
| In-Reply-To: | <3CA30DDC.D828F259@hack.kampbjorn.com> |
| References: | |
| <FC169E059D1A0442A04C40F86D9BA76008ABE3 AT itdomain003 DOT itdomain DOT net DOT au> | |
| <3CA30DDC DOT D828F259 AT hack DOT kampbjorn DOT com> | |
| MIME-Version: | 1.0 |
Hack wrote:
[...]
> Note this doesn't happen for wget. I've just checked.
[...]
> As you can see in /etc/postinstall/wget.sh.done when wget is
> installed/updated it will install the info files only if texinfo is
> already installed (wget does not depend/require texinfo). Otherwise it's
> texinfo's postinstall job to update the dir info.
> #!/bin/sh
> VERSION=1.8.1-1
> INFODIR=/usr/info
> INSTALLINFO=/usr/bin/install-info
> if [ -x ${INSTALLINFO} -a -f ${INFODIR}/wget.info ] ; then
> ${INSTALLINFO} --dir-file=${INFODIR}/dir ${INFODIR}/wget.info
> fi
> if [ ! -f /etc/wgetrc ] ; then
> cp /usr/doc/wget-${VERSION}/sample.wgetrc /etc/wgetrc
> fi
Great;) We should all use some general purpose install script
like this I scribbled for indent now, so one needs only to change
the name of the package/info-file and it fits (for the .info part):
#!/bin/sh
PACKAGE=indent
INFOFILE=${PACKAGE}.info
INFODIR=/usr/info
INSTALLINFO=/usr/bin/install-info
if [ -x ${INSTALLINFO} -a -f ${INFODIR}/${INFOFILE} ] ; then
${INSTALLINFO} --dir-file=${INFODIR}/dir ${INFODIR}/${INFOFILE}
fi
Gerrit
--
=^..^=
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |