Setup - command line only

Jared Silva jayrod@gmail.com
Mon Feb 23 02:53:00 GMT 2009


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/



More information about the Cygwin mailing list