aboutsummaryrefslogtreecommitdiffstats
path: root/URPM
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-07-15 16:53:28 +0000
committerFrancois Pons <fpons@mandriva.com>2002-07-15 16:53:28 +0000
commit8193e28941e92205df8d1502594b1b030c8cc27b (patch)
tree9c4c0b728822c99f2a7bc4057efb13577c7e03b1 /URPM
parent8414339f861f1289bdc8cd191a765e8dec195582 (diff)
downloadperl-URPM-8193e28941e92205df8d1502594b1b030c8cc27b.tar
perl-URPM-8193e28941e92205df8d1502594b1b030c8cc27b.tar.gz
perl-URPM-8193e28941e92205df8d1502594b1b030c8cc27b.tar.bz2
perl-URPM-8193e28941e92205df8d1502594b1b030c8cc27b.tar.xz
perl-URPM-8193e28941e92205df8d1502594b1b030c8cc27b.zip
0.10-1mdk0.10
Diffstat (limited to 'URPM')
-rw-r--r--URPM/Resolve.pm11
1 files changed, 0 insertions, 11 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index 960ea66..1a0fc12 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -196,17 +196,6 @@ sub resolve_requested {
#- check if package is not already installed before trying to use it, compute
#- obsoleted package too. this is valable only for non source package.
if ($pkg->arch ne 'src') {
- unless ($pkg->flag_upgrade || $pkg->flag_installed) {
- #- assume for this small algorithm package to be upgradable.
- $pkg->set_flag_upgrade;
- $db->traverse_tag('name', [ $pkg->name ], sub {
- my ($p) = @_;
- $pkg->set_flag_installed; #- there is at least one package installed (whatever its version).
- $pkg->flag_upgrade and $pkg->set_flag_upgrade($pkg->compare_pkg($p) > 0);
- });
- }
- $pkg->flag_installed && !$pkg->flag_upgrade and next;
-
#- keep in mind the provides of this package, so that future requires can be satisfied
#- with this package potentially.
foreach ($pkg->provides) {