aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-09-19 11:00:15 +0000
committerThierry Vignaud <tv@mandriva.org>2006-09-19 11:00:15 +0000
commit7c230b07ca16ccca65f81fb73f6f4a21f2aafd38 (patch)
treeefebc4aba30a1f0b062cf922077ec0dc143f7bf0
parent688537e93b6cd49db819af740cf1f411490d6150 (diff)
downloadrpmdrake-7c230b07ca16ccca65f81fb73f6f4a21f2aafd38.tar
rpmdrake-7c230b07ca16ccca65f81fb73f6f4a21f2aafd38.tar.gz
rpmdrake-7c230b07ca16ccca65f81fb73f6f4a21f2aafd38.tar.bz2
rpmdrake-7c230b07ca16ccca65f81fb73f6f4a21f2aafd38.tar.xz
rpmdrake-7c230b07ca16ccca65f81fb73f6f4a21f2aafd38.zip
fix crashing in MandrivaUpdate
-rwxr-xr-xrpmdrake2
1 files changed, 2 insertions, 0 deletions
diff --git a/rpmdrake b/rpmdrake
index 6c3297c4..d3f74479 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -100,6 +100,8 @@ my $default_list_mode;
$default_list_mode = 'all' if $MODE eq 'install';
if ($MODE eq 'remove') {
$default_list_mode = 'installed';
+} elsif ($MODE eq 'update') {
+ $default_list_mode = 'all_updates';
}
eval {