aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-11-27 18:28:18 +0000
committerThierry Vignaud <tv@mandriva.org>2006-11-27 18:28:18 +0000
commite671ebc69f87fb53dcf50f8f8f0ac5d5d5744567 (patch)
treebb8683a0f05deb19af3d0cf654ec5a79a7522e0c
parent36ab6b192e9f461e0ed2c57bb39a300afcff3899 (diff)
downloadrpmdrake-e671ebc69f87fb53dcf50f8f8f0ac5d5d5744567.tar
rpmdrake-e671ebc69f87fb53dcf50f8f8f0ac5d5d5744567.tar.gz
rpmdrake-e671ebc69f87fb53dcf50f8f8f0ac5d5d5744567.tar.bz2
rpmdrake-e671ebc69f87fb53dcf50f8f8f0ac5d5d5744567.tar.xz
rpmdrake-e671ebc69f87fb53dcf50f8f8f0ac5d5d5744567.zip
preselect updates by default (#25271)
-rwxr-xr-xrpmdrake3
1 files changed, 3 insertions, 0 deletions
diff --git a/rpmdrake b/rpmdrake
index 70d74fce..1feea496 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -1668,6 +1668,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 {