From bd1897e46cbd3e810d7406d16b62d7666fd9dcb6 Mon Sep 17 00:00:00 2001 From: Alexey Tourbin Date: Sat, 8 Nov 2008 17:28:31 +0300 Subject: [PATCH] psm.c (psmTriggerPosttrans): do not set RPM_INSTALL_ARG1 and RPM_INSTALL_ARG2 --- lib/psm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/psm.c b/lib/psm.c index 65fe43d..c5c4d69 100644 --- a/lib/psm.c +++ b/lib/psm.c @@ -2174,7 +2174,7 @@ void psmTriggerPosttrans(PSM_t psm) const char *script = RPMCONFIGDIR "/posttrans-filetriggers"; const char *argv[] = { script, file, NULL }; rpmMessage(RPMMESS_VERBOSE, _("Running %s\n"), script); - int rc = runScript(psm, NULL, script, 2, argv, NULL, 0, 0); + int rc = runScript(psm, NULL, script, 2, argv, NULL, -1, -1); if (rc == 0) unlink(file); file = _free(file);