summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>1999-12-21 11:05:47 +0000
committerFrancois Pons <fpons@mandriva.com>1999-12-21 11:05:47 +0000
commitf56350762a1516bad6d7d8fa74e9395d50c81ea3 (patch)
tree450f3c1c72c4bd3607e184250cf089b832d7e9f2 /perl-install/pkgs.pm
parent292ab23b4f99d41c6597217d9295ea56e65b9878 (diff)
downloaddrakx-f56350762a1516bad6d7d8fa74e9395d50c81ea3.tar
drakx-f56350762a1516bad6d7d8fa74e9395d50c81ea3.tar.gz
drakx-f56350762a1516bad6d7d8fa74e9395d50c81ea3.tar.bz2
drakx-f56350762a1516bad6d7d8fa74e9395d50c81ea3.tar.xz
drakx-f56350762a1516bad6d7d8fa74e9395d50c81ea3.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 8bfa04dd5..9cd90bc9d 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 ($otherPackage =~ /^libtermcap/) {
+ if (c::headerGetEntry($header, 'name') eq 'libtermcap') {
delete $toRemove{$otherPackage}; #- keep it selected, but force upgrade.
} else {
my @files = c::headerGetEntry($header, 'filenames');