Re: Bootstrapping PEAR for distros
| From: | Justin Patrin | Date: | Fri, 14 Apr 2006 19:28:52 +0000 |
| Subject: | Re: Bootstrapping PEAR for distros | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-42231@lists.php.net to get a copy of this message | ||
On 4/14/06, Tim Jackson <lists@timj.co.uk> wrote:
> Justin Patrin wrote:
>
> > perhaps I'm missing the part where they
> > run the pre/post install and replacement tasks with the PEAR installer
> > from their scripts.
>
> From the php-pear-DB package in Fedora:
>
> %post
> pear install --nodeps --soft --force --register-only \
> %{_var}/lib/pear/DB.xml >/dev/null
>
> %postun
> if [ "$1" -eq "0" ]; then
> pear uninstall --nodeps --ignore-errors --register-only DB \
> >/dev/null
> fi
>
As the option is "--register-only" I doubt it does the post-install stuff.
--
Justin Patrin