summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install
diff options
context:
space:
mode:
authormcf <mcf@pkgsrc.org>2020-10-09 07:37:20 +0000
committermcf <mcf@pkgsrc.org>2020-10-09 07:37:20 +0000
commit4f51c7fc9720bbc2a096f7315037c2a476744aea (patch)
tree54c3a34e93a4e59ebad4de7ee6149c88a37cf8ce /pkgtools/pkg_install
parent902b0b053ee0d2cd36c40845f47ca150a68b6286 (diff)
downloadpkgsrc-4f51c7fc9720bbc2a096f7315037c2a476744aea.tar.gz
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 (limited to 'pkgtools/pkg_install')
-rw-r--r--pkgtools/pkg_install/files/add/perform.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgtools/pkg_install/files/add/perform.c b/pkgtools/pkg_install/files/add/perform.c
index 048ec8dc128..877fcb04967 100644
--- a/pkgtools/pkg_install/files/add/perform.c
+++ b/pkgtools/pkg_install/files/add/perform.c
@@ -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>
@@ -981,7 +981,8 @@ run_install_script(struct pkg_task *pkg, const char *argument)
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;