> I believe the current behaviour is correct. Since `DEBIAN/templates` is > not a `maintscript`, it should not be included in `scripts()`. It is the > same reason why `DEBIAN/control` is also not present in that value.
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. >From the Debian Policy ( https://www.debian.org/doc/debian-policy/ch-binary.html#s-maintscriptprompt ): > Packages which use the Debian Configuration Management Specification may contain the additional package metadata files `config` and `templates`. > `config` is an additional maintainer script used for package configuration, and `templates` contains templates used for user prompting. 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.

