This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

wget 1.8.1-1: bug in postinstall script


The script says:

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

But in the tarball we have:

$ tar -tIvf ../../wmt-tls/cygdist/wget-1.8.1-1.tar.bz2 usr/doc
drwxrwxrwx hack/Administrators 0 2002-02-13 15:07:49 usr/doc/
drwxr-xr-x hack/Administrators 0 2002-02-13 15:07:49 usr/doc/Cygwin/
-rw-r--r-- hack/Administrators 1249 2002-02-13 15:07:49 usr/doc/Cygwin/wget-1.8.1.README
drwxrwxrwx hack/Administrators    0 2002-02-13 15:07:49 usr/doc/wget-1.8.1/

The cp will fail because the VERSIONs don't match.  1.8.1-1 in the script and
the actual directory created is wget-1.8.1.

                        -Len

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]