Debian Policy forbids info files not mentioned in Policy, except if their names start with an underscore to flag them as non-critical.
diff --git a/src/main/unpack.c b/src/main/unpack.c
index 9048f6fb0..446f8d4c5 100644
--- a/src/main/unpack.c
+++ b/src/main/unpack.c
@@ -496,9 +496,23 @@ pkg_infodb_update_file(const char *filename, const char *filetype)
static void
pkg_infodb_update(struct pkginfo *pkg, char *cidir, char *cidirrest)
{
+ char const *const known_info_names[] =
+ {
+ "conffiles",
+ "control",
+ "preinst",
+ "prerm",
+ "postinst",
+ "postrm",
+ "triggers"
+ };
If there's ever a need for something like this, I think that would
belong in a linter.
So, I'm not planning on merging this one.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 465 |
Nodes: | 16 (2 / 14) |
Uptime: | 84:41:22 |
Calls: | 9,416 |
Files: | 13,575 |
Messages: | 6,102,575 |