The following commit has been merged in the master branch:
commit 06065fb42580849874dc94a7b7a2bcc0bd2798c3
Author: Guillem Jover <[email protected]>
Date: Tue Mar 17 02:41:21 2009 +0200
install-info: Print buggy maintainer script package in warning
diff --git a/utils/install-info.c b/utils/install-info.c
index 2f17383..9689dd3 100644
--- a/utils/install-info.c
+++ b/utils/install-info.c
@@ -54,10 +54,14 @@ main(int argc, char **argv)
} else {
if (errno == ENOENT) {
if (getenv("DPKG_RUNNING_VERSION") != NULL) {
+ const char *pkg;
+
+ pkg = getenv("DPKG_MAINTSCRIPT_PACKAGE");
+
warn("maintainer scripts should not call install-info
anymore\n");
warn("a dpkg trigger provided by the install-info "
"package takes care of the job\n");
- warn("this package should be updated\n");
+ warn("the package '%s' should be updated\n", pkg);
} else {
warn("nothing done since %s doesn't exist\n", WRAPPED);
}
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]