| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <45748E63.7080000@free.fr> |
| Date: | Mon, 04 Dec 2006 22:08:51 +0100 |
| From: | cuicui <cuicui DOT oizo AT free DOT fr> |
| User-Agent: | Thunderbird 1.5.0.8 (X11/20061025) |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | /etc/setup/last-* files and quiet setup conflict (was: Where does Cygwin store its parameters?) |
| References: | <09f001c7179c$a2658e10$a501a8c0 AT CAM DOT ARTIMI DOT COM> |
| In-Reply-To: | <09f001c7179c$a2658e10$a501a8c0@CAM.ARTIMI.COM> |
| X-Greylist: | Sender is SPF-compliant, not delayed by milter-greylist-2.0.2 (asterix.univ-paris1.fr [127.0.0.1]); Mon, 04 Dec 2006 22:08:54 +0100 (CET) |
| X-up1-MailScanner-Information: | Please contact the ISP for more information |
| X-up1-MailScanner: | Found to be clean |
| X-up1-MailScanner-From: | cuicui DOT oizo AT free DOT fr |
| X-IsSubscribed: | yes |
| 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 |
Dave Korn wrote:
> On 04 December 2006 11:04, Dave Silvia wrote:
>
>> Hi!
>>
>> I'm trying to write a script that knows what the user selected for
>> parameters at installation.
>
> Are you sure this is the best way to achieve whatever end result
> you're using? Give us some more detail, maybe there's a better way
> without having to know this stuff.
>
>> For example, What type of line endings (CRLF, LF, etc.). Where does
>> Cygwin store this sort of information, if anywhere?
>
> The type of line-endings can be inferred from the mount-mode of the
> root directory; it's not stored explicitly anywhere AFAIK. Most of
> the remaining information is stored in
> /etc/setup/last-{action,cache,connection,mirror}.
BTW, i've recently planned to autoupdate the Cygwin environment (using
switches of setup.exe and a "virtual" package on "Base" category) on the
workstations i manage and i noticed that remaining /etc/setup/last-*
files take precedence over the setup switches.
In other words if the last action was "Install from Internet" and the
setup switch is "setup -L ...", the setup will try to download files
from Internet instead of using the local directory only.
That was an issue for me as far as my files are stored on a public SaMBa
share (read only).
Cleaning /etc/setup/last-* before setup files does the trick.
Anyway, this was just to mention a possible minor bug. Another
suggestion for quiet setup: no possibilities for the user to close the
window (equivalent to the "/qb!" option of msiexec) when using the quiet
option...
All the best,
Nicolas C.
--
Ce message a ete verifie par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a ete trouve.
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |