The following commit has been merged in the master branch:
commit 1b5209ec9b15a3ccccdf80f5e9ebfe102116a6d8
Author: Guillem Jover <[email protected]>
Date:   Tue Mar 17 02:48:38 2009 +0200

    install-info: Improve a bit the warning messages

diff --git a/utils/install-info.c b/utils/install-info.c
index 9689dd3..f1bd2dd 100644
--- a/utils/install-info.c
+++ b/utils/install-info.c
@@ -41,10 +41,10 @@ int
 main(int argc, char **argv)
 {
     if (strcmp(argv[0], SELF) == 0) {
-       warn("don't call programs like install-info with an absolute path\n");
-       warn("%s provided by dpkg is deprecated and will go away soon\n",
+       warn("don't call programs like install-info with an absolute path,\n");
+       warn("%s provided by dpkg is deprecated and will go away soon;\n",
             SELF);
-       warn("its replacement lives in /usr/bin/\n");
+       warn("its replacement lives in /usr/bin/.\n");
     }
 
     if (access(WRAPPED, X_OK) == 0) {
@@ -58,12 +58,13 @@ main(int argc, char **argv)
 
                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("the package '%s' should be updated\n", pkg);
+               warn("maintainer scripts should not call install-info 
anymore,\n");
+               warn("this is handled now by a dpkg trigger provided by the\n");
+               warn("install-info package; package %s should be updated.\n",
+                    pkg);
            } else {
-               warn("nothing done since %s doesn't exist\n", WRAPPED);
+               warn("nothing done since %s doesn't exist,\n", WRAPPED);
+               warn("you might want to install an info-browser package.\n");
            }
        } else {
            error("can't execute %s: %s\n", WRAPPED, strerror(errno));

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to