From e7448a4860fd2233d3590119afbd8b9c65fcb225 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Tue, 13 May 2003 21:05:09 +0000 Subject: 4.3-10mdk --- urpm.pm | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'urpm.pm') diff --git a/urpm.pm b/urpm.pm index bea56bd0..c118bb10 100644 --- a/urpm.pm +++ b/urpm.pm @@ -2602,17 +2602,7 @@ sub install { } ++$update; } - if (!$options{nodeps} and @l = $trans->check) { - if ($options{translate_message}) { - foreach (@l) { - my ($type, $needs, $conflicts) = split '@', $_; - $_ = ($type eq 'requires' ? - N("%s is needed by %s", $needs, $conflicts) : - N("%s conflicts with %s", $needs, $conflicts)); - } - } - return @l; - } + !$options{nodeps} and @l = $trans->check(%options) and return @l; !$options{noorder} and @l = $trans->order and return @l; #- assume default value for some parameter. -- cgit v1.2.1