Hello look at here there is an exemple of package using a template file http://git.debian.org/?p=debian-science/packages/tango.git;a=blob;f=debian/tango-db.postinst;h=6456e7656c770400c0e7a67b81c8b84b5da0b15a;hb=8e13acd3c8692ab753737daf085301fad79d3b35 See you Frederic