From 3b9b604eb1802c5f546bd444dae32e179bbb7d20 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sun, 16 Jan 2000 23:08:46 +0000 Subject: no_comment --- perl-install/c/stuff.xs.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/c') diff --git a/perl-install/c/stuff.xs.pm b/perl-install/c/stuff.xs.pm index 322266c67..69e7f2d78 100644 --- a/perl-install/c/stuff.xs.pm +++ b/perl-install/c/stuff.xs.pm @@ -550,7 +550,7 @@ rpmRunTransactions(trans, callbackOpen, callbackClose, callbackMessage, force) } break; case RPMCALLBACK_INST_PROGRESS: - if ((amount - last_amount) * 4 / total) { + if (total && (amount - last_amount) * 4 / total) { msg = "Progressing installing package"; param_s = n; param_ul1 = &amount; -- cgit v1.2.1