tech-pkg archive

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

[PATCH] pkg_install: fix stage in verbose log message



Currently, it always shows PRE-INSTALL, even if it is running with
POST-INSTALL.
---
 pkgtools/pkg_install/files/add/perform.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pkgtools/pkg_install/files/add/perform.c b/pkgtools/pkg_install/files/add/perform.c
index c0111998c23..f68b04cc3dc 100644
--- a/pkgtools/pkg_install/files/add/perform.c
+++ b/pkgtools/pkg_install/files/add/perform.c
@@ -979,7 +979,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;
 
-- 
2.26.2



Home | Main Index | Thread Index | Old Index