aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-10-25 20:24:40 +0000
committerThierry Vignaud <tv@mandriva.org>2006-10-25 20:24:40 +0000
commitaa37818951de7f5b54db88022db5799e5bcc8a36 (patch)
tree4b6195a854c44189f02cd2580f344eb542bbad26
parentc798e67e274a8c65a95d47f61f831a88684e1feb (diff)
downloadrpmdrake-aa37818951de7f5b54db88022db5799e5bcc8a36.tar
rpmdrake-aa37818951de7f5b54db88022db5799e5bcc8a36.tar.gz
rpmdrake-aa37818951de7f5b54db88022db5799e5bcc8a36.tar.bz2
rpmdrake-aa37818951de7f5b54db88022db5799e5bcc8a36.tar.xz
rpmdrake-aa37818951de7f5b54db88022db5799e5bcc8a36.zip
fix crash by behaving like urpmi & gurpmi (#26742)
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 2b00b94d..df831b77 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -1952,7 +1952,7 @@ Is it ok to continue?", join("\n\n", $r, if_($to_install, $to_install))) : $to_i
if ($subtype eq 'start') {
if ($type eq 'trans') {
gurpm::label(@rpms_install ? N("Preparing packages installation...") : N("Preparing..."));
- } else {
+ } elsif (defined $pkg) {
$something_installed = 1;
gurpm::label(N("Installing package `%s' (%s/%s)...", $pkg->name, ++$progress_nb, $total_nb));
}