pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install/files/delete When updating a pack...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/19f9cba79f4e
branches:  trunk
changeset: 538055:19f9cba79f4e
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Jan 26 09:23:31 2008 +0000

description:
When updating a package, the "(perhaps the packing list is incorrectly
specified?)" warning isn't correct, so don't print this assumption at
all.

diffstat:

 pkgtools/pkg_install/files/delete/perform.c |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (29 lines):

diff -r 1e33c6d914c7 -r 19f9cba79f4e pkgtools/pkg_install/files/delete/perform.c
--- a/pkgtools/pkg_install/files/delete/perform.c       Sat Jan 26 03:14:18 2008 +0000
+++ b/pkgtools/pkg_install/files/delete/perform.c       Sat Jan 26 09:23:31 2008 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: perform.c,v 1.20 2007/11/29 22:50:05 rillig Exp $      */
+/*     $NetBSD: perform.c,v 1.21 2008/01/26 09:23:31 rillig Exp $      */
 
 #if HAVE_CONFIG_H
 #include "config.h"
@@ -11,7 +11,7 @@
 #if 0
 static const char *rcsid = "from FreeBSD Id: perform.c,v 1.15 1997/10/13 15:03:52 jkh Exp";
 #else
-__RCSID("$NetBSD: perform.c,v 1.20 2007/11/29 22:50:05 rillig Exp $");
+__RCSID("$NetBSD: perform.c,v 1.21 2008/01/26 09:23:31 rillig Exp $");
 #endif
 #endif
 
@@ -783,9 +783,7 @@
        if (!Fake) {
                /* Some packages aren't packed right, so we need to just ignore delete_package()'s status.  Ugh! :-( */
                if (delete_package(FALSE, CleanDirs, &Plist, NoDeleteFiles) == FAIL)
-                       warnx(
-               "couldn't entirely delete package `%s'\n"
-               "(perhaps the packing list is incorrectly specified?)", pkg);
+                       warnx("couldn't entirely delete package `%s'\n", pkg);
        }
        else {   /* Fake means Verbose */
                printf("Attempting to delete package `%s'\n", pkg);



Home | Main Index | Thread Index | Old Index