[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: TCPQuota: postinst, postrm and Depends



Jules Bean <jmlb2@hermes.cam.ac.uk> wrote:

> On 10 Aug 1998, Turbo Fredriksson wrote:
> 
> > I have the line 'Depends: libdbi-perl, msql | mysql' in my control file,
> > but I'm currently using the 'msql' binary to create and check the database.
> > 
> > How do I know if mysql OR msql is installed from the postinst and postrm
> > script?
> 
> I would suggest you depend on 'libdbd-mysql-perl | libdbd-msql-perl'.
> 
> There is a DBI function to list all available data sources - I suggest you
> usde this, and then ask the user where they would like the data stored
> (given that both dbs might be installed)

No can do... I'm using the _binary_ 'msql' OR 'mysql' to create the databases
etc...

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?

-- 
-----------------------------------------------------------------------
 Turbo     __ _     Debian GNU     Unix _IS_ user friendly - it's just 
 ^^^^^    / /(_)_ __  _   ___  __  selective about who its friends are 
         / / | | '_ \| | | \ \/ /          papadoc.nocrew.org          
  _ /// / /__| | | | | |_| |>  <  Turbo Fredriksson    turbo@tripnet.se
  \\\/  \____/_|_| |_|\__,_/_/\_\ Surrey/B.C./Canada      (604)572-3523
Debian Certified Linux Developer  PGP#788CD1A9   www5.tripnet.se/~turbo
------- PGP:  B7 92 93 0E 06 94 D6 22  98 1F 0B 5B FE 33 A1 0B --------
-- 
NORAD cracking PLO radar Kennedy security $400 million in gold bullion
Rule Psix Panama Uzi CIA Ortega explosion domestic disruption Legion
of Doom

Attachment: pgpWsSh9oTnYl.pgp
Description: PGP signature


Reply to: