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/add pkg_install: fix stage ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/df3981edb25c
branches:  trunk
changeset: 440467:df3981edb25c
user:      mcf <mcf%pkgsrc.org@localhost>
date:      Fri Oct 09 07:37:20 2020 +0000

description:
pkg_install: fix stage in verbose log message

This function is also used to run with POST-INSTALL, so adjust the
log message to match the argument passed to the install script.

diffstat:

 pkgtools/pkg_install/files/add/perform.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r b7ce98c92516 -r df3981edb25c pkgtools/pkg_install/files/add/perform.c
--- a/pkgtools/pkg_install/files/add/perform.c  Fri Oct 09 07:32:12 2020 +0000
+++ b/pkgtools/pkg_install/files/add/perform.c  Fri Oct 09 07:37:20 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: perform.c,v 1.112 2020/07/01 10:03:19 jperkin Exp $    */
+/*     $NetBSD: perform.c,v 1.113 2020/10/09 07:37:20 mcf Exp $        */
 #if HAVE_CONFIG_H
 #include "config.h"
 #endif
@@ -6,7 +6,7 @@
 #if HAVE_SYS_CDEFS_H
 #include <sys/cdefs.h>
 #endif
-__RCSID("$NetBSD: perform.c,v 1.112 2020/07/01 10:03:19 jperkin Exp $");
+__RCSID("$NetBSD: perform.c,v 1.113 2020/10/09 07:37:20 mcf Exp $");
 
 /*-
  * Copyright (c) 2003 Grant Beattie <grant%NetBSD.org@localhost>
@@ -981,7 +981,8 @@
        setenv(PKG_REFCOUNT_DBDIR_VNAME, config_pkg_refcount_dbdir, 1);
 
        if (Verbose)
-               printf("Running install with PRE-INSTALL for %s.\n", pkg->pkgname);
+               printf("Running install with %s for %s.\n", argument,
+                   pkg->pkgname);
        if (Fake)
                return 0;
 



Home | Main Index | Thread Index | Old Index