# Install packages that are needed
$tellcount = 0;
+%already = ( );
foreach $t (@todo) {
+ next if ($already{$t->{'update'}});
if ($t->{'level'} <= $config{'sched_action'}) {
# Can install
$body .= "An update to $t->{'name'} from $t->{'oldversion'} to $t->{'version'} is needed.\n";
else {
$body .= "However, this update could not be installed! Try the update manually\nusing the Package Updates module.\n\n";
}
+ foreach $p (@$done) {
+ $already{$p}++;
+ }
}
else {
# Just tell the user about it