diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-08-26 23:05:40 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-08-26 23:05:40 +0000 |
commit | 79cfa728dea726c404876d6430c0348f1dad767a (patch) | |
tree | f95e977ce09c20c8de3976b3ef05592a0684f92d /urpm/orphans.pm | |
parent | af30e725b90a6585e1525ab893363e961eec1452 (diff) | |
download | urpmi-79cfa728dea726c404876d6430c0348f1dad767a.tar urpmi-79cfa728dea726c404876d6430c0348f1dad767a.tar.gz urpmi-79cfa728dea726c404876d6430c0348f1dad767a.tar.bz2 urpmi-79cfa728dea726c404876d6430c0348f1dad767a.tar.xz urpmi-79cfa728dea726c404876d6430c0348f1dad767a.zip |
(_installed_req_and_unreq_and_update_unrequested_list) keep new pkgs list around
(needed for next commit)
Diffstat (limited to 'urpm/orphans.pm')
-rw-r--r-- | urpm/orphans.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/urpm/orphans.pm b/urpm/orphans.pm index dcc82572..9399f9e4 100644 --- a/urpm/orphans.pm +++ b/urpm/orphans.pm @@ -100,7 +100,8 @@ sub _installed_req_and_unreq_and_update_unrequested_list { my ($unreq, $req) = partition { $unrequested->{$_->name} } @$pkgs; # update the list (to filter dups and now-removed-pkgs) - _write_unrequested_list__file($urpm, [map { $_->name } @$unreq]); + my @new = map { $_->name } @$unreq; + _write_unrequested_list__file($urpm, \@new); ($req, $unreq, $unrequested); } |