This one time, at band camp, sean finney said: > hej andreas, > > On Thu, 2006-11-23 at 19:33 +0100, Andreas Henriksson wrote: > > > A slightly different way would be to: > > - have dbconfig-common depend on "sqlite | mysql-client | > > postgresql-client" to make sure atleast one of the supported clients is > > always installed. > > unfortunately, this won't work because some apps work only with mysql, > others with mysql | pgsql, others sqlite only, thus it's possible that > unless it specified its own dependencies, the app would be installed > without any supported db clients installed. (phpmysqladmin on > a system with dbconfig+sqlite already installed, for example)
It's a bit messy, but perhaps a way to make it work with the current dependency limitations is to have helper packages (dbconfig-mysql, etc) which depend on dbconfig-common and the appropriate client interface. phpmyadmin, e.g., could then depend on dbconfig-mysql, which pulls in all the right stuff for it, and supplies mysql helper scripts. Just a thought. -- ----------------------------------------------------------------- | ,''`. Stephen Gran | | : :' : [EMAIL PROTECTED] | | `. `' Debian user, admin, and developer | | `- http://www.debian.org | -----------------------------------------------------------------
signature.asc
Description: Digital signature