This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: setup-1.7 with -D and -L options
Dave Korn wrote:
So my first thought was that the real issue here is that we need to add a
"-I". But then looking at last-action I see that it works how the
command-line options could/should work: it has "Download" or "Install" or
"Download,Install"; i.e. it's like checkboxes rather than radioboxes.
So I figure we ought to make -D and -L together work as if you had specified
nothing at all.
I guess if we take a step back and figure out what the goal is, then we
can figure out how to get there. If I understand correctly
1. last-action should be consulted only if _neither_ -D nor -L are given
2. if -D is given, then download to local directory only
3. if -L is given, then install from local directory only
4. if both -D and -L are given, download and install
In cases 2,3,4 - set last-action based on the state of -D and -L
Ralph