From dbc1dddbef3a640401e128761ae1154ebf7b6365 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 8 Jul 2008 09:20:55 +0000 Subject: - urpme: o --test: display "Removal is possible" if no pb (#40584) (though i wonder what kind of issues could arise when testing transaction?) --- urpme | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'urpme') diff --git a/urpme b/urpme index 78f26546..4cdc7333 100644 --- a/urpme +++ b/urpme @@ -176,7 +176,9 @@ my @errors = $parallel if (@errors) { #- Warning : the following message is parsed in urpm::parallel_* $urpm->{fatal}(2, N("Removal failed") . ":\n" . join("\n", map { "\t$_" } @errors)); -} elsif ($may_be_orphans && !$options{auto_orphans} && !$test) { +} elsif ($test) { + print N("Removal is possible"), "\n"; +} elsif ($may_be_orphans && !$options{auto_orphans}) { if (my $msg = urpm::orphans::get_now_orphans_msg($urpm)) { print "\n", $msg; } -- cgit v1.2.1