<div dir="ltr"><div></div><div>> I believe the current behaviour is correct. Since `DEBIAN/templates` is </div>> not a `maintscript`, it should not be included in `scripts()`. It is the <br>> same reason why `DEBIAN/control` is also not present in that value.<br><div><br></div><div>That's fair, although it could be argued that the templates file could also be included since, when present, it's often needed by the main scripts.</div><div><br></div><div>From the Debian Policy (<a href="https://www.debian.org/doc/debian-policy/ch-binary.html#s-maintscriptprompt">https://www.debian.org/doc/debian-policy/ch-binary.html#s-maintscriptprompt</a>):</div><div>> Packages which use the Debian Configuration Management Specification may contain the additional package metadata files `config` and `templates`.</div><div>> `config` is an additional maintainer script used for package configuration, and `templates` contains templates used for user prompting.</div><br><div></div><div>Still, I think it's fine to keep this as it is, but it would be nice to have this limitation documented in the API.</div><br></div>