summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2011-09-17 09:22:04 +0000
committerThierry Vignaud <tv@mageia.org>2011-09-17 09:22:04 +0000
commitc2b791c15075df63abec1cb0fc1a1b92299bfe77 (patch)
tree46204e529937344396244811541fe4ea80e85cd7 /perl-install/install
parent702298dcb2795a45dd13248525c619a0397d79c3 (diff)
downloaddrakx-c2b791c15075df63abec1cb0fc1a1b92299bfe77.tar
drakx-c2b791c15075df63abec1cb0fc1a1b92299bfe77.tar.gz
drakx-c2b791c15075df63abec1cb0fc1a1b92299bfe77.tar.bz2
drakx-c2b791c15075df63abec1cb0fc1a1b92299bfe77.tar.xz
drakx-c2b791c15075df63abec1cb0fc1a1b92299bfe77.zip
(prefering_mdv) renamed as prefering_mga()
Diffstat (limited to 'perl-install/install')
-rw-r--r--perl-install/install/steps.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/install/steps.pm b/perl-install/install/steps.pm
index b46ec1d2e..15d8d4327 100644
--- a/perl-install/install/steps.pm
+++ b/perl-install/install/steps.pm
@@ -282,7 +282,7 @@ sub upgrading_redhat() {
unlink "$::prefix/etc/X11/XF86Config";
unlink "$::prefix/etc/X11/XF86Config-4";
- sub prefering_mdv {
+ sub prefering_mga {
my ($lpkg, $rpkg_ver, $c) = @_;
my $lpkg_ver = $lpkg->version . '-' . $lpkg->release;
log::l($lpkg->name . ' ' . ': prefering ' . ($c == 1 ? "$lpkg_ver over $rpkg_ver" : "$rpkg_ver over $lpkg_ver"));
@@ -294,7 +294,7 @@ sub upgrading_redhat() {
my ($lpkg, $rpkg) = @_;
my $c = ($lpkg->release =~ /mga/ ? 1 : 0) - ($rpkg->release =~ /mga/ ? 1 : 0);
if ($c) {
- prefering_mdv($lpkg, $rpkg->version . '-' . $rpkg->release, $c);
+ prefering_mga($lpkg, $rpkg->version . '-' . $rpkg->release, $c);
$c;
} else {
&$old_compare_pkg;
@@ -307,7 +307,7 @@ sub upgrading_redhat() {
my ($lpkg, $rpkg_ver) = @_;
my $c = ($lpkg->release =~ /mga/ ? 1 : 0) - ($rpkg_ver =~ /mga/ ? 1 : 0);
if ($c) {
- prefering_mdv($lpkg, $rpkg_ver, $c);
+ prefering_mga($lpkg, $rpkg_ver, $c);
return $c;
}
&$old_compare;