delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/02/22/21:53:06

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,EXECUTABLE_URI,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <49A1DF61.5000509@gmail.com>
References: <49A1DF61 DOT 5000509 AT gmail DOT com>
Date: Sun, 22 Feb 2009 21:52:50 -0500
Message-ID: <a34988160902221852t6c3fd1bah7d5d0c361f6c7331@mail.gmail.com>
Subject: Re: Setup - command line only
From: Jared Silva <jayrod AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Kevin and Nancy wrote:
> A separate question might be, why can't setup update itself?  Even, "click
> here to download the new setup" would be a setup forward.

That is easy to set up yourself.  Below is my /bin/cygwin_setup:

#! /bin/sh
dir="/"
url="http://www.cygwin.com/setup.exe"

cygwin_setup="${dir}$(basename "${url}")"

cd "${dir}"
wget -N "${url}"
chmod 755 -c "${cygwin_setup}"

cygstart "${cygwin_setup}" --no-shortcuts ${@}

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019