www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:reply-to:message-id:to:subject | |
:in-reply-to:references:mime-version:content-type | |
:content-transfer-encoding; q=dns; s=default; b=NaA+Dw+QxswW/iQr | |
+UoIZcUAigT6j7yHeLXOQwYPsEbmNGQ+rLE2Tir94T88UixIM+PUXBKEt3XauY2b | |
ee98vW7BqdBknvgImXR8eUJ/3h/sRdVnz3Umpt+EetoiGtN5RBRc48KfZ2Gp00cX | |
5BTZEr1fpXLMJSGOwnqx/Tuy3w4= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:reply-to:message-id:to:subject | |
:in-reply-to:references:mime-version:content-type | |
:content-transfer-encoding; s=default; bh=znpVJhH7M9rkVdDlIOEHjX | |
62dFI=; b=ua3Dih/G8mMT3zIEGr0srY1oNwQozATKC4E2VRO9AFejbDVVrFjKB8 | |
b6D+PjNrfCRthYydt9U9trh7/Qp6ar5fXBXnPFz42dPpKu2DBJYQ1iM62er4qr1H | |
teMkr2hSXxxx9SCN4KwS8Gqm7MOFDm2KlRLOv4wDx90J6gY8hdARc= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=4.2 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 |
X-HELO: | smtp.ht-systems.ru |
Date: | Fri, 28 Aug 2015 16:57:16 +0300 |
From: | Andrey Repin <anrdaemon AT yandex DOT ru> |
Reply-To: | cygwin AT cygwin DOT com |
Message-ID: | <879655271.20150828165716@yandex.ru> |
To: | "Nellis, Kenneth" <Kenneth DOT Nellis AT xerox DOT com>, cygwin AT cygwin DOT com |
Subject: | Re: setup.exe -s site option not working for me |
In-Reply-To: | <0D835E9B9CD07F40A48423F80D3B5A702E917FA7@USA7109MB022.na.xerox.net> |
References: | <0D835E9B9CD07F40A48423F80D3B5A702E917FA7 AT USA7109MB022 DOT na DOT xerox DOT net> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Greetings, Nellis, Kenneth! > Dear Cygwin Users: > I currently run setup through a Windows shortcut that adds options > -d -N to the standard command line. Being exposed recently to > cygwinports, I was attempting to have separate shortcuts, Wasted effort. > one for regular cygwin and one for cygwinports. To distinguish between them, > I tried adding -s <site> to the command-line options to specify the > respective sites. Instead of working as I expected: > 1. In the "Choose A Download Site" window, instead of simply auto- > selecting my regular site, it created a duplicate entry of the site; > and > 2. When I proceeded to the next step, it complained with "Unable to > get setup.ini from <[site]>" and wouldn't let me proceed until I > selected the other of the duplicated site names. > Perhaps my mission to have separate setup procedures for cygwin > and cygwinports is folly, but wondering if I am doing something > wrong or if the -s <site> option isn't working as it should. ----- 8< ----- 8< ----- 8< ----- 8< ----- 8< ----- 8< ----- 8< ----- 8< ----- #!/bin/sh # Cygwin upgrade helper script. # Usage: # # install-cygwin.sh [ ports ] # # If you intend to use it for new installs, you will need minimal bootstrap # including POSIX shell interpreter and wget utility. # # You will have to edit the script to provide mirror URL of your choice. # # The script assumes existing installation of the same architecture as # the host operating system. # If you want to install 32-bit Cygwin on 64-bit host, override # $ARCH with value other than "x86_64". # F.e. # # ARCH=x86 ./install-cygwin.sh # Mirror URL - don't include trailing slash! MIRROR="${MIRROR:-http://ftp-stud.hs-esslingen.de/pub/Mirrors/sources.redhat.com/cygwin}" # System architecture. ARCH="${ARCH:-$(uname -m)}" # Localization is fine... as long as you don't show it to other people. export LANG=C if [ "$ARCH" != "x86_64" ]; then ARCH=x86 fi wget -N "http://cygwin.com/setup-${ARCH}.exe" if [ "$1" = "ports" ]; then KEYS="-K http://cygwinports.org/ports.gpg -s ""${MIRROR%%/}ports/" shift fi ./setup-${ARCH}.exe -O -s "${MIRROR%%/}/" $KEYS $* & ----- >8 ----- >8 ----- >8 ----- >8 ----- >8 ----- >8 ----- >8 ----- >8 ----- the only problem is that I have to manually kill last shell that is attached to the setup.exe after the script ends, to allow clean upgrade. -- With best regards, Andrey Repin Friday, August 28, 2015 16:51:27 Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |