This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Check if a package is installed


On 01/10/2012 13:24, marco atzeri wrote:
cygcheck -c <package>

Thanks, this is what I looked for.


However, I notice that:

1) If the .lst.gz file is missing, "cygcheck -c <package>" still reports OK.

2) When testing a missing package, "cygcheck -c <package>" does not output any status line, but its return code is still 0. This is not easy to use from scripts.

--
Vincent Rivière

--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]