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] |
Hello.
I would like to know how to reliably test if a Cygwin package is already installed (just like setup.exe does).
Currently, I test the existence of /etc/setup/<package>.lst.gz. It works perfectly for me, but a user reported to me that that file was missing sometimes.
I see there is also package information listed in /etc/setup/installed.db. Maybe this information should be considered as more reliable?
It uses the the two information left by setup.exe /etc/setup/installed.db /etc/setup/<package>.lst.gz
Regards Marco
-- 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] |