aboutsummaryrefslogtreecommitdiffstats
path: root/MandrivaUpdate
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-02-28 17:55:49 +0000
committerThierry Vignaud <tv@mandriva.org>2007-02-28 17:55:49 +0000
commit133968f3a5663e79b70eeecf9684cc6fabed32e3 (patch)
tree5603bc2a810b0aea45a02309018e3e46f796ede1 /MandrivaUpdate
parentaa167d3824a366b3736f10ba92c4b4d164d3dfaf (diff)
downloadrpmdrake-133968f3a5663e79b70eeecf9684cc6fabed32e3.tar
rpmdrake-133968f3a5663e79b70eeecf9684cc6fabed32e3.tar.gz
rpmdrake-133968f3a5663e79b70eeecf9684cc6fabed32e3.tar.bz2
rpmdrake-133968f3a5663e79b70eeecf9684cc6fabed32e3.tar.xz
rpmdrake-133968f3a5663e79b70eeecf9684cc6fabed32e3.zip
enforce flag_required
Diffstat (limited to 'MandrivaUpdate')
-rwxr-xr-xMandrivaUpdate1
1 files changed, 1 insertions, 0 deletions
diff --git a/MandrivaUpdate b/MandrivaUpdate
index fe9ecabc..b6f7d27c 100755
--- a/MandrivaUpdate
+++ b/MandrivaUpdate
@@ -130,6 +130,7 @@ gtknew('ScrolledWindow', width => $typical_width*0.9,
# don't select kernel*-latest by default:
foreach my $name (sort(map { urpm_name($_) } @requested)) {
$pkgs->{$name}{selected} = to_bool($name !~ /^kernel.*-latest/);
+ $pkgs->{$name}{pkg}->set_flag_required($name !~ /^kernel.*-latest/);
};
@{$list->{data}} = map {