Signed-off-by: Pascal "Pixel" Rigaux <[EMAIL PROTECTED]>
---
 lib/transaction.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/transaction.c b/lib/transaction.c
index c443b96..18dcbd7 100644
--- a/lib/transaction.c
+++ b/lib/transaction.c
@@ -911,7 +911,7 @@ static int runTransScripts(rpmts ts, rpmTag stag)
        }
        
        /* If no pre/post-transaction script, then don't bother. */
-       if (script == NULL)
+       if (script == NULL && scriptprog == NULL)
            continue;
 
        p->fd = ts->notify(p->h, RPMCALLBACK_INST_OPEN_FILE, 0, 0,
-- 
1.5.4.3

_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
https://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to