This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: Patch for command line install/download in setup.exe
- From: Ralph Hempel <rhempel at bmts dot com>
- To: cygwin-apps at cygwin dot com
- Date: Wed, 03 Sep 2008 09:43:46 -0400
- Subject: Re: Patch for command line install/download in setup.exe
- References: <48BE93AB.5090005@bmts.com>
Ugh, bad form replying to my own email but the patch I submitted
works in thewrong direction. Here's the correct patch...
Sorry for the noise.
Ralph
--- setup-clean/source.cc 2008-08-12 16:32:08.000000000 -0400
+++ setup/source.cc 2008-09-03 09:29:28.593750000 -0400
@@ -86,7 +86,9 @@
void
SourcePage::OnActivate ()
{
- if (DownloadOption)
+ if (DownloadOption && LocalOption)
+ source = IDC_SOURCE_NETINST;
+ else if (DownloadOption)
source = IDC_SOURCE_DOWNLOAD;
else if (LocalOption)
source = IDC_SOURCE_CWD;