This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Installer names not meaningful enough
On 2016-12-07 07:46, Ian Lambert wrote:
> On December 7, 2016 4:57:02 AM EST, Duncan Roe wrote:
>> On Tue, Dec 06, 2016 at 10:11:42AM +0100, Gerrit Haase wrote:
>>> 2016-12-01 11:51 GMT+01:00 Roberto Ríos Gallardo says:
>>>> Please give the installers more meaningful names. In
>>>> particular, make sure "cygwin" is part of it.
>>>> "setup-x86_64.exe" is not very obvious. A version number would
>>>> be nice too.
>>> The version is part of setup.ini in the header:
>>> # This file was automatically generated at 2016-12-05 09:43:16 UTC.
>>> #
>>> # If you edit it, your edits will be discarded next time the file is
>>> # generated. See http://cygwin.com/setup.html for details.
>>> release: cygwin
>>> arch: x86_64
>>> setup-timestamp: 1480930996
>>> setup-version: 2.876
>>> ...
>> Where is setup.ini?
> $ locate setup.ini
> /cygwin-install/path/ftp.some.mirror/x86_64/setup.ini
More generally, without locate installed or updated,
you can find it quickly with:
$ grep -A1 '^last-cache$' /etc/setup/setup.rc
last-cache
C:/cygwin-package-cache
at:
$ ls $(cygpath $(sed '0,/^last-cache$/d;q' /etc/setup/setup.rc))/?*tp%3a%2f%2f*cygwin*%2f/x86*/setup.ini
giving:
$ grep '^setup-version:\s' $(cygpath $(sed '0,/^last-cache$/d;q' /etc/setup/setup.rc))/?*tp%3a%2f%2f*cygwin*%2f/x86*/setup.ini
setup-version: 2.876
or:
$ sed '/^setup-version:\s/!d;s///' $(cygpath $(sed '0,/^last-cache$/d;q' /etc/setup/setup.rc))/?*tp%3a%2f%2f*cygwin*%2f/x86*/setup.ini
2.876
Unwrap commands if required to copy and paste.
--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple