<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.14.1">
</HEAD>
<BODY>
Hi,<BR>
<BR>
i am having a problem with dbc_generate_* clausules. In my postinst script i have:<BR>
<BR>
<PRE>
... (some code here)

PKG=phpreport
VERS=1.5

dbc_pgsql_createdb_encoding='UTF8'
dbc_generate_include='template:/etc/dbconfig-common/config_db.php'
dbc_generate_include_args=&quot;-o template_infile='/etc/dbconfig-common/config_db_template.php'&quot;

. /usr/share/dbconfig-common/dpkg/postinst.pgsql

... (more code)

dbc_go ${PKG}-${VERS} $@

... (and more)
</PRE>
<BR>
The &quot;config_db.php&quot; and &quot;config_db_template.php&quot; exist but the &quot;_DBC_<I>vars</I>_&quot; aren't substitute for their values. When run the postinst script neither the &quot;package-version.conf&quot; script in /etc/dbconfig-common/ directory is created. However, the debconf variables are created. In &quot;config_db*&quot; scripts i have some how ... <BR>
<BR>
<PRE>
&lt;?
// Database connection
$hostname_db=&quot;localhost&quot;;
$port_db=&quot;5432&quot;;
$login_db=&quot;_DBC_DBUSER_&quot;;
$password_db=&quot;_DBC_DBPASS_&quot;;
$dbname_db=&quot;_DBC_DBNAME_&quot;;
?&gt;

</PRE>
In this point... i don't know that it is going. Someone knows?<BR>
<BR>
Thanks,<BR>
Andr&#233;s
</BODY>
</HTML>