On 07/02/2006 at 10:21 Matt Zimmerman wrote...

<snip> 

> > Would it not be better to depend on php4 or php5 rather than force people
> > to upgrade to PHP5?
> 
> Possibly, but it is quite tricky to express this correctly using the
> available dependency relationships.
> 

This works for me.
Depends: ${misc:Depends}, php4 (>= 4.1.0) | php5 | php4-cgi (>=
4.1.0) | php5-cgi, php4-pgsql (>= 4.1.0) | php4-mysql (>= 4.1.0) | php5-mysql |
php5-pgsql, php4-gd | php5-gd, apache | httpd, php4-cli |  php5-cli,
wwwconfig-common (>= 0.0.7), mimetex

-Rudy

-- 
Rudy Godoy | 0x3433BD21 | http://stone-head.org               ,''`.
http://www.apesol.org  -  http://www.debian.org              : :' :
GPG FP: 0D12 8537 607E 2DF5 4EFB  35A7 550F 1A00 3433 BD21   `. `'
                                                               `-

Attachment: signature.asc
Description: Digital signature

Reply via email to