This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
wget 1.8.1-1: bug in postinstall script
- From: Len Giambrone <frodo at mit dot edu>
- To: cygwin at cygwin dot com
- Date: 09 Jul 2002 16:50:48 -0400
- Subject: 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/