summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-05-13 21:05:09 +0000
committerFrancois Pons <fpons@mandriva.com>2003-05-13 21:05:09 +0000
commite7448a4860fd2233d3590119afbd8b9c65fcb225 (patch)
treef31471b1c95684e116b2ea0c3c358b2d5c9bd16c /urpm.pm
parentf8fbfa2fe45d7bfa9cce1c2255365dde70f3e696 (diff)
downloadurpmi-e7448a4860fd2233d3590119afbd8b9c65fcb225.tar
urpmi-e7448a4860fd2233d3590119afbd8b9c65fcb225.tar.gz
urpmi-e7448a4860fd2233d3590119afbd8b9c65fcb225.tar.bz2
urpmi-e7448a4860fd2233d3590119afbd8b9c65fcb225.tar.xz
urpmi-e7448a4860fd2233d3590119afbd8b9c65fcb225.zip
4.3-10mdk
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm12
1 files changed, 1 insertions, 11 deletions
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.