Make sure that the Fake mode would give a Verbose message about
the package to be deleted. (Previously, the Fake mode only mentioned deinstalling other dependent packages but didn't say anything Verbose about the package itself.)
This commit is contained in:
parent
d1825213e7
commit
027c7dd739
|
@ -1,11 +1,11 @@
|
|||
/* $NetBSD: perform.c,v 1.50 2003/10/21 02:48:07 fvdl Exp $ */
|
||||
/* $NetBSD: perform.c,v 1.51 2004/01/29 17:41:49 reed Exp $ */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#ifndef lint
|
||||
#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.50 2003/10/21 02:48:07 fvdl Exp $");
|
||||
__RCSID("$NetBSD: perform.c,v 1.51 2004/01/29 17:41:49 reed Exp $");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -773,6 +773,9 @@ pkg_do(char *pkg)
|
|||
"couldn't entirely delete package `%s'\n"
|
||||
"(perhaps the packing list is incorrectly specified?)", pkg);
|
||||
}
|
||||
else { /* Fake means Verbose */
|
||||
printf("Attempting to delete package `%s'\n", pkg);
|
||||
}
|
||||
if (!isemptyfile(DEPOT_FNAME)) {
|
||||
if (Verbose)
|
||||
printf("Attempting to remove the %s registration on package `%s'\n", VIEWS_FNAME, pkg);
|
||||
|
|
Loading…
Reference in New Issue