summaryrefslogtreecommitdiffstats
path: root/perl-install/install/any.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-12-21 17:37:44 +0000
committerThierry Vignaud <tv@mageia.org>2012-12-21 17:37:44 +0000
commit9dfa26e81d7c2eaffb34fc066b78f8730794a55c (patch)
treea1947a05416cb88e376181815ae65d7016110cec /perl-install/install/any.pm
parenta2cb0b168fb7652258ed905246f3126e300146e0 (diff)
downloaddrakx-backup-do-not-use-9dfa26e81d7c2eaffb34fc066b78f8730794a55c.tar
drakx-backup-do-not-use-9dfa26e81d7c2eaffb34fc066b78f8730794a55c.tar.gz
drakx-backup-do-not-use-9dfa26e81d7c2eaffb34fc066b78f8730794a55c.tar.bz2
drakx-backup-do-not-use-9dfa26e81d7c2eaffb34fc066b78f8730794a55c.tar.xz
drakx-backup-do-not-use-9dfa26e81d7c2eaffb34fc066b78f8730794a55c.zip
(media_screen) display better release medium name in update medium description
display medium name instead of path (eg: "Core Release" instead of "core/release"
Diffstat (limited to 'perl-install/install/any.pm')
-rw-r--r--perl-install/install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm
index 7d2749af6..073163ed6 100644
--- a/perl-install/install/any.pm
+++ b/perl-install/install/any.pm
@@ -370,7 +370,7 @@ sub media_screen {
my $name = $medium->{name};
my ($distribconf, $medium_path) = @{$_->{mediacfg}};
my @media_types = split(':', $distribconf->getvalue($medium_path, 'media_type'));
- my $parent = $distribconf->getvalue($medium_path, 'updates_for');
+ my $parent = $distribconf->getvalue($distribconf->getvalue($medium_path, 'updates_for'), 'name');
intersection(\@media_types, [ qw(backports debug source testing) ]) ? () :
+{
val => \$medium->{temp_enabled}, type => 'bool', text => $name,