aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-11-27 18:28:37 +0000
committerThierry Vignaud <tv@mandriva.org>2006-11-27 18:28:37 +0000
commite013b9909fe58a342da786abb23f2a7d3b0fa9d5 (patch)
tree176bfff28734218576f0e221abde14f5a5ed748e
parent49a4a5ac992d2bf8b538769afa0e5845483665e9 (diff)
downloadrpmdrake-e013b9909fe58a342da786abb23f2a7d3b0fa9d5.tar
rpmdrake-e013b9909fe58a342da786abb23f2a7d3b0fa9d5.tar.gz
rpmdrake-e013b9909fe58a342da786abb23f2a7d3b0fa9d5.tar.bz2
rpmdrake-e013b9909fe58a342da786abb23f2a7d3b0fa9d5.tar.xz
rpmdrake-e013b9909fe58a342da786abb23f2a7d3b0fa9d5.zip
preselect updates by default (#25271)
-rwxr-xr-xrpmdrake3
1 files changed, 3 insertions, 0 deletions
diff --git a/rpmdrake b/rpmdrake
index 655d5072..18fa9754 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -1667,6 +1667,9 @@ Then, restart %s.", $rpmdrake::myname_update)), myexit(-1);
my $n = urpm_name($pkg);
$pkg_sel{$n} || $pkg_nosel{$n} or next;
$pkg_sel{$n} and $selected = 1;
+ } else {
+ # selecting updates by default:
+ $selected = 1;
}
$updates{my_fullname($pkg)} = { selected => $selected, pkg => $pkg };
} else {