diff options
author | Francois Pons <fpons@mandriva.com> | 2003-07-29 14:23:13 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-07-29 14:23:13 +0000 |
commit | a9a0a2d4e90fdf8a27cac2da7c17ce1cd2a1de96 (patch) | |
tree | 86fa9e555b0e0b5e8ee4b8c74e1ee3487d8bb802 | |
parent | fbefb21b3c2bde99c75bb16db07f65b5491dd2e3 (diff) | |
download | urpmi-a9a0a2d4e90fdf8a27cac2da7c17ce1cd2a1de96.tar urpmi-a9a0a2d4e90fdf8a27cac2da7c17ce1cd2a1de96.tar.gz urpmi-a9a0a2d4e90fdf8a27cac2da7c17ce1cd2a1de96.tar.bz2 urpmi-a9a0a2d4e90fdf8a27cac2da7c17ce1cd2a1de96.tar.xz urpmi-a9a0a2d4e90fdf8a27cac2da7c17ce1cd2a1de96.zip |
handle option force with parallel remove.
-rw-r--r-- | urpm.pm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2891,7 +2891,7 @@ sub find_packages_to_remove { push @notfound, $_; } - if (@notfound && @$l > 1) { + if (!$options{force} && @notfound && @$l > 1) { $options{callback_notfound} and $options{callback_notfound}->($urpm, @notfound) or return (); } @@ -2911,7 +2911,7 @@ sub find_packages_to_remove { push @m, scalar $p->fullname; }); - if (@notfound) { + if (!$options{force} && @notfound) { unless (@m) { $options{callback_notfound} and $options{callback_notfound}->($urpm, @notfound) or return (); |