diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2006-11-21 15:03:15 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2006-11-21 15:03:15 +0000 |
commit | 3036afacd2e78524060d15a759efce21b912c3e1 (patch) | |
tree | 75b5783493b1fd14cd947f88586575210853e038 /urpm.pm | |
parent | 3034ae97c467f38171a8e0370a98fa2f4e2cc3e3 (diff) | |
download | urpmi-3036afacd2e78524060d15a759efce21b912c3e1.tar urpmi-3036afacd2e78524060d15a759efce21b912c3e1.tar.gz urpmi-3036afacd2e78524060d15a759efce21b912c3e1.tar.bz2 urpmi-3036afacd2e78524060d15a759efce21b912c3e1.tar.xz urpmi-3036afacd2e78524060d15a759efce21b912c3e1.zip |
move urpm::parallel_remove to urpm::parallel::remove
(but keep urpm::parallel_remove for backward compatibility since rpmdrake uses it)
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 13 |
1 files changed, 2 insertions, 11 deletions
@@ -3053,17 +3053,8 @@ sub find_removed_from_basesystem { return 1; } -#- remove packages from node as remembered according to resolving done. -sub parallel_remove { - my ($urpm, $remove, %options) = @_; - my $state = {}; - my $callback = sub { $urpm->{fatal}(1, "internal distributed remove fatal error") }; - $urpm->{parallel_handler}->parallel_find_remove($urpm, $state, $remove, %options, - callback_notfound => undef, - callback_fuzzy => $callback, - callback_base => $callback, - ); -} +#- deprecated +sub parallel_remove { &urpm::parallel::remove } #- misc functions to help finding ask_unselect and ask_remove elements with their reasons translated. sub unselected_packages { |