Re: check for installed package

From: Date: Wed, 14 Jul 2004 08:43:14 +0000
Subject: Re: check for installed package
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-32013@lists.php.net to get a copy of this message
Tobias Schlitt wrote:
Hi Stephan Wentz! You wrote:
hi all!
what's the fastest/best way of determining wether a pear package is installed or not? i want to check wether a given package is installed for optional stuff in my app.
"pear list|grep <package_name>" ;)
ehehe This doesn't cover manual installs, maybe a "locate <package_name>.php" will do? :-P No, I really need a valid answer for this one ;-) Stephan

« previous php.pear.dev (#32013) next »