Magnus Therning wrote: > On Mon, Apr 17, 2006 at 02:43:12PM -0500, Ek Zindagoi wrote: > >>Hi: >>I am creating a package in Debian and have some questions about >>specifying dependencies in the control file. >>The Dependencies make up five of the fields in a control file: Depends, >>Enhances, Pre-Depends, Recommends, and Suggests. But all the these fields >>accept package names and versions as arguments/parameters. >> >>My question is : Is there any way for me to specify a file as a parameter >>to the "Depends" dependency list along with the package list ? > > > Please tell us more, why do you want to put the existance of a file as a > dependency? > > Would it not be enough to create the file, if it doesn't already exist, > when the package is installed? > > /M >
He is probably thinking of the way that RPMs are package. For example, if you need to be able to send mail, you can depend on the existence of /usr/lib/sendmail or /usr/sbin/sendmail. In DEB packages this is done by dependinding on a dummy or virtual package (I forget the correct term) like mail-transport-agent, which all sendmail-compatible MTAs provide. -Roberto -- Roberto C. Sanchez http://familiasanchez.net/~roberto
signature.asc
Description: OpenPGP digital signature