| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
| To: | cygwin AT cygwin DOT com |
| Subject: | wget 1.8.1-1: bug in postinstall script |
| From: | Len Giambrone <frodo AT mit DOT edu> |
| Date: | 09 Jul 2002 16:50:48 -0400 |
| Message-ID: | <tmlhej8d3rr.fsf@small-gods.mit.edu> |
| Lines: | 29 |
| User-Agent: | Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 |
| MIME-Version: | 1.0 |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |