On Jan 22, 2004, at 12:51 pm, [EMAIL PROTECTED] wrote:


What is the quickest (or preferred) way of checking (in a
bash script) if a given package is installed?

I think the most elegant way MIGHT be to import functions from Portage / ebuild, and use DEPENDS (see `man ebuild` and `man 5 ebuild`) but I have NO IDEA how to do it.


Stroller.


-- [EMAIL PROTECTED] mailing list



Reply via email to