The following commit has been merged in the master branch:
commit cc49169cdc596e33f036e9d9300e915a74e8baf0
Author: Guillem Jover <guil...@debian.org>
Date:   Sun Oct 24 02:53:27 2010 +0200

    dpkg-trigger: Remove duplicate command name from error messages

diff --git a/src/trigcmd.c b/src/trigcmd.c
index d0ff3d1..a0645b8 100644
--- a/src/trigcmd.c
+++ b/src/trigcmd.c
@@ -206,12 +206,12 @@ main(int argc, const char *const *argv)
        if (!bypackage) {
                bypackage = getenv(MAINTSCRIPTPKGENVVAR);
                if (!bypackage)
-                       ohshit(_("dpkg-trigger must be called from a maintainer 
script"
-                              " (or with a --by-package option)"));
+                       ohshit(_("must be called from a maintainer script"
+                                " (or with a --by-package option)"));
        }
        if (strcmp(bypackage, "-") &&
            (badname = illegal_packagename(bypackage, NULL)))
-               ohshit(_("dpkg-trigger: illegal awaited package name `%.250s': 
%.250s"),
+               ohshit(_("illegal awaited package name '%.250s': %.250s"),
                       bypackage, badname);
 
        activate = argv[0];

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to debian-dpkg-cvs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to