Re: Question wrt dual-PEAR
| From: | MadCoder | Date: | Tue, 01 Feb 2005 05:34:16 +0000 |
| Subject: | Re: Question wrt dual-PEAR | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-35844@lists.php.net to get a copy of this message | ||
Alan Knowles wrote:
> Why not make the debian installer a wrapper to the pear install command?
> Alot of this seems like it is making a simple problem into a complex
> one.
>
> something like
> Files:
> thepackage.tgz
>
> postinst:
> call a small php script that uses pear libs to determine:
> - is it installed already (in which case just sync debians db)
> - otherwise - run pear install.. / upgrade
>
> dependancies: extract from file somehow (based on the makerpm code?)
it's ugly because it breaks dpkg -l for example ...
but I suggest sth not that different : http://www.madism.org/debian.pear.php
and the discussiont between /usr/share/pear /usr/share/php is pointless IMHO
(at least wrt the problem I have)
--
·O· Pierre Habouzit
··O
OOO http://www.madism.org