summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>1999-12-22 10:17:11 +0000
committerFrancois Pons <fpons@mandriva.com>1999-12-22 10:17:11 +0000
commit3c8f4fe3b7b15bd261a7c278d88c8e7a9498afc7 (patch)
tree04e400d2276acd441d444aa46ab5767077153e1e /perl-install/pkgs.pm
parent50d8f9cde126659428ee95eb30457d4c5370c5f6 (diff)
downloaddrakx-3c8f4fe3b7b15bd261a7c278d88c8e7a9498afc7.tar
drakx-3c8f4fe3b7b15bd261a7c278d88c8e7a9498afc7.tar.gz
drakx-3c8f4fe3b7b15bd261a7c278d88c8e7a9498afc7.tar.bz2
drakx-3c8f4fe3b7b15bd261a7c278d88c8e7a9498afc7.tar.xz
drakx-3c8f4fe3b7b15bd261a7c278d88c8e7a9498afc7.zip
*** empty log message ***
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r--perl-install/pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 9cd90bc9d..e22eed6de 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -499,7 +499,7 @@ sub selectPackagesToUpgrade($$$;$$) {
c::headerGetEntry($header, 'version'). '-' .
c::headerGetEntry($header, 'release'));
if ($toRemove{$otherPackage}) {
- if (c::headerGetEntry($header, 'name') eq 'libtermcap') {
+ if ($packages->{c::headerGetEntry($header, 'name')}{base}) {
delete $toRemove{$otherPackage}; #- keep it selected, but force upgrade.
} else {
my @files = c::headerGetEntry($header, 'filenames');