pkgsrc-Changes archive

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

CVS commit: pkgsrc/pkgtools/pkg_install/files/add



Module Name:    pkgsrc
Committed By:   mcf
Date:           Fri Oct  9 07:37:20 UTC 2020

Modified Files:
        pkgsrc/pkgtools/pkg_install/files/add: perform.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 pkgsrc/pkgtools/pkg_install/files/add/perform.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/pkgtools/pkg_install/files/add/perform.c
diff -u pkgsrc/pkgtools/pkg_install/files/add/perform.c:1.112 pkgsrc/pkgtools/pkg_install/files/add/perform.c:1.113
--- pkgsrc/pkgtools/pkg_install/files/add/perform.c:1.112       Wed Jul  1 10:03:19 2020
+++ pkgsrc/pkgtools/pkg_install/files/add/perform.c     Fri Oct  9 07:37:20 2020
@@ -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 @@ run_install_script(struct pkg_task *pkg,
        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