Check if a package is installed

Vincent Rivière vincent.riviere@freesbee.fr
Thu Oct 4 08:54:00 GMT 2012


On 04/10/2012 01:05, Larry Hall (Cygwin) wrote:
> Well it has to use something to validate the package. The data it
> uses is the list of files in the .lst.gz file you deleted. So it
> can't do allot of validating without that metadata.

Indeed.

> But I suppose it would make sense to not return "OK" if the list of
> files is missing.

Sure.

So I will continue to just test the presence of the .lst.gz to check if 
a package is installed:
- missing: not correctly installed
- present: installed (correctly or corrupted)

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



More information about the Cygwin mailing list