From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 52055 invoked by alias); 5 Jul 2017 18:01:43 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 51107 invoked by uid 89); 5 Jul 2017 18:01:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-101.9 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1466, H*c:application X-HELO: drew.franken.de Received: from mail-n.franken.de (HELO drew.franken.de) (193.175.24.27) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 05 Jul 2017 18:01:41 +0000 Received: from aqua.hirmke.de (aquarius.franken.de [193.175.24.89]) (Authenticated sender: aquarius) by mail-n.franken.de (Postfix) with ESMTPSA id 5AC3A721E281C for ; Wed, 5 Jul 2017 20:01:38 +0200 (CEST) Received: from calimero.vinschen.de (calimero.vinschen.de [192.168.129.6]) by aqua.hirmke.de (Postfix) with ESMTP id 9DFD35E0285 for ; Wed, 5 Jul 2017 20:01:37 +0200 (CEST) Received: by calimero.vinschen.de (Postfix, from userid 500) id 7B540A805B7; Wed, 5 Jul 2017 20:01:37 +0200 (CEST) Date: Wed, 05 Jul 2017 18:01:00 -0000 From: Corinna Vinschen To: cygwin-apps@cygwin.com Subject: Re: setup complains about cygwin-doc package update Message-ID: <20170705180137.GJ30902@calimero.vinschen.de> Reply-To: cygwin-apps@cygwin.com Mail-Followup-To: cygwin-apps@cygwin.com References: <20170705142723.GH30902@calimero.vinschen.de> <20170705172712.GI30902@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="1E1Oui4vdubnXi3o" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.0 (2017-02-23) X-SW-Source: 2017-07/txt/msg00022.txt.bz2 --1E1Oui4vdubnXi3o Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1480 On Jul 5 13:44, Ken Brown wrote: > On 7/5/2017 1:27 PM, Corinna Vinschen wrote: > > On Jul 5 11:20, Brian Inglis wrote: > > > On 2017-07-05 08:27, Corinna Vinschen wrote: > > > > On Jul 5 13:32, Nellis, Kenneth wrote: > > > > > So, these are handy links to have, I guess, but is it appropriate= for > > > > > cygwin-doc.sh to presume that the directory exists? Maybe it shou= ld create it > > > > > rather than simply bail out and complain if it doesn't exist. > > > >=20 > > > > In theory, the script should only create the files if the directory > > > > exists. Brian? > > >=20 > > > Okay - assumed the directory would always be created by setup - > > > presumably not true - but do not check that assumption in pi, although > > > thought about it - > >=20 > > User's can decline creating shortcuts in setup. > >=20 > > > should I check and skip creating shortcuts, rather than create dir and > > > shorcuts? Should I also check and skip rm in prerm? And provide > > > patches? > >=20 > > Skipping goes hand in hand with the fact that the user declined the > > Start Menu shortcut creation. >=20 > The script already does check and skip. The only issue is that it skips = by > calling 'exit 2' instead of 'exit 0', which is what led to the original > post. Note to myself: read source before talking about it. :} Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --1E1Oui4vdubnXi3o Content-Type: application/pgp-signature; name="signature.asc" Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJZXSmBAAoJEPU2Bp2uRE+g180P/jlTxZbVzQpAYpGS9NBOgHRq 67LwUReNSIAV3q9V0rGOvv737zTjlg6r65n97GELGlXlV5lWxp54XzCrR/NUiVYY HZ/n8MMGBFJDsXh8gIDQkZWz2tH6rjNcW6aKZUaJdCXiDiRfujn/507FPj7O1vSG PHIlRHGoR99QLGPFXkEz6UpnBFRQmCdH+uvr2cZ0IkgfvVUVFJAcdL0SmmxBBte3 IkL0kvrhi9+6yYvsENb8sQhGUW5L+NP5b7Iepwk0xakD2E0hEwxcBJvtP/8i5heI U9DG9pLTVgRvgDLZPPL+sSC/T3zqtYHitjQGiOlPaFLnp+PLK/hHYG59say8c+7u m9fI9keMJEbXe6Bu17h7R7igd3l+weH9RUiYLeEFKDr9Nwswlpwf+90vq9HH6y4M BE7m37ByqYJIm1Q+LQ/DIoayZljG9JBUdIgiGNqW+abCh4t1L5MWICD6UUkktuGy ZLCR8PqPrsRDvS1LsiTGJOenSDn06lZR4MnfZ+eOyoMLHUF/hGoog7e7D1NrMylE ex8ZquPh15O25IpwAzv7Imq1aaAQprqMhes7tqm+LqMP2AfnpKTZ8qyiByfVAamb BTfxB66DTxYaP/65wNWbH4wqS63Tw1/6JqtrLjzgwDi+mGTdMZyrbkve/yMmMPLh gIZjbsKO1d+i0r1hJ5sv =AZOK -----END PGP SIGNATURE----- --1E1Oui4vdubnXi3o--