[Dbconfig-common-devel] Using templates

sean finney seanius at debian.org
Wed Dec 15 19:49:47 UTC 2010


hi tim,

On Wed, Dec 15, 2010 at 01:00:19PM +0100, Tim Stoop wrote:
> The way I understood it (but I admit I'm very new to this) is that
> dbc_generate_include is used for the file that is actually generated,
> the outputfile? I should be able to use template:outputfile, but how
> does dbc know where to find the template? Or am I reading this wrong?

right, and you can point at the input file with the template_infile=path
option to dbconfig-generate-include (i.e. setting
	dbconfig_generate_include_args="-o template_infile=path"
in your postinst, i think).  maybe not the most intuitive, but should
work...

lemme know how that goes for you!


	sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/dbconfig-common-devel/attachments/20101215/4d75d86b/attachment.pgp>


More information about the Dbconfig-common-devel mailing list