summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-11-08 15:02:02 +0000
committerFrancois Pons <fpons@mandriva.com>2000-11-08 15:02:02 +0000
commiteee4b3b71251b4afbd197d13af7a2d24ee488747 (patch)
tree690460cfdc6da0350d5e02080b464d43696a592f /perl-install
parent605b8eb93d5ec47dceee7f892c1fcbdb5cc03145 (diff)
downloaddrakx-eee4b3b71251b4afbd197d13af7a2d24ee488747.tar
drakx-eee4b3b71251b4afbd197d13af7a2d24ee488747.tar.gz
drakx-eee4b3b71251b4afbd197d13af7a2d24ee488747.tar.bz2
drakx-eee4b3b71251b4afbd197d13af7a2d24ee488747.tar.xz
drakx-eee4b3b71251b4afbd197d13af7a2d24ee488747.zip
make sure package already installed for oem are marked as selected, as some
code refer to this state to perform some actions (install_urpmi)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/pkgs.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 314c4e61d..30b990d36 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -812,6 +812,7 @@ sub selectPackagesAlreadyInstalled {
my $version_rel_test = $version_cmp > 0 || $version_cmp == 0 &&
versionCompare(c::headerGetEntry($header, 'release'), packageRelease($p)) >= 0;
$version_rel_test or log::l("keeping an older package, avoiding selecting $p->{file}");
+ packageSetFlagSelected($p, 1);
packageSetFlagInstalled($p, 1);
}
});