diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-01-16 23:08:46 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-01-16 23:08:46 +0000 |
commit | 3b9b604eb1802c5f546bd444dae32e179bbb7d20 (patch) | |
tree | b7b1cdf32f2e12fa65a932f24722e12a89b59bb3 /perl-install/c | |
parent | cc29fc49a0427da3225c4d77f95827bed24073f7 (diff) | |
download | drakx-3b9b604eb1802c5f546bd444dae32e179bbb7d20.tar drakx-3b9b604eb1802c5f546bd444dae32e179bbb7d20.tar.gz drakx-3b9b604eb1802c5f546bd444dae32e179bbb7d20.tar.bz2 drakx-3b9b604eb1802c5f546bd444dae32e179bbb7d20.tar.xz drakx-3b9b604eb1802c5f546bd444dae32e179bbb7d20.zip |
no_comment
Diffstat (limited to 'perl-install/c')
-rw-r--r-- | perl-install/c/stuff.xs.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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; |