Re: TCPQuota: postinst, postrm and Depends
On 15 Aug 1998, Turbo Fredriksson wrote:
> Richard Braakman <dark@xs4all.nl> wrote:
>
> > Turbo Fredriksson wrote:
> >
> > > I could however depend on 'libdbd-mysql-perl | libdbd-msql-perl, msql | mysql'
> > > or perhaps '(libdbd-mysql-perl, mysql) | (libdbd-msql-perl, msql)'... Can one
> > > write it like that?
> >
> > No, but one can always reduce a complex expression to the form used by dpkg:
> >
> > libdbd-mysql-perl | libdbd-msql-perl, libdbd-mysql-perl | msql, mysql | libdbd-msql-perl, mysql | msql
>
> What this seems to say is:
>
> libdbd-mysql-perl OR libdbdb-msql-perl AND libdbd-mysql-perl OR msql AND mysql OR
> libdbd-msql-perl AND mysql OR msql
>
> Didn't understand a thing... :) Lets put the thing I want to do in pseudo code:
>
No need. Richard understood what you wanted. If you don't believe his
works, then drwa yourself a truth table :-)
It's a question of whether you find conjunctive or disjunctive normal form
more intuitive...
Jules
/----------------+-------------------------------+---------------------\
| Jelibean aka | jules@jellybean.co.uk | 6 Evelyn Rd |
| Jules aka | jules@debian.org | Richmond, Surrey |
| Julian Bean | jmlb2@hermes.cam.ac.uk | TW9 2TF *UK* |
+----------------+-------------------------------+---------------------+
| War doesn't demonstrate who's right... just who's left. |
| When privacy is outlawed... only the outlaws have privacy. |
\----------------------------------------------------------------------/
Reply to: