diff options
author | Francois Pons <fpons@mandriva.com> | 2002-12-11 11:27:17 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2002-12-11 11:27:17 +0000 |
commit | 170345ed730ff801de7a3230a3727fcb70383ffa (patch) | |
tree | a3048f5bfeae9feecae80073440ac108ffda78c7 /urpme | |
parent | 933d4974697b7561b1ea880c4b7d9b75d92087bd (diff) | |
download | urpmi-170345ed730ff801de7a3230a3727fcb70383ffa.tar urpmi-170345ed730ff801de7a3230a3727fcb70383ffa.tar.gz urpmi-170345ed730ff801de7a3230a3727fcb70383ffa.tar.bz2 urpmi-170345ed730ff801de7a3230a3727fcb70383ffa.tar.xz urpmi-170345ed730ff801de7a3230a3727fcb70383ffa.zip |
4.1-12mdk
Diffstat (limited to 'urpme')
-rw-r--r-- | urpme | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -193,7 +193,11 @@ if (@toremove > @l && !$auto) { <STDIN> =~ /[$noexpr]/ and exit 0; } -$urpm->install(\@toremove, {}, {}); +@l = $urpm->install(\@toremove, {}, {}); +if (@l) { + print STDERR _("Removing failed") . ":\n" . join("\n", map { "\t$_" } @l); + exit 1; +} sub toMb { my $nb = $_[0] / 1024 / 1024; |