summaryrefslogtreecommitdiffstats
path: root/perl-install/install
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
commitf92acc32dbc993fc14e14ce922b584f12d584c43 (patch)
treea1947a05416cb88e376181815ae65d7016110cec /perl-install/install
parenta0b43ea704836fb9b3ec0a4620fa0dcfbfca84a6 (diff)
downloaddrakx-f92acc32dbc993fc14e14ce922b584f12d584c43.tar
drakx-f92acc32dbc993fc14e14ce922b584f12d584c43.tar.gz
drakx-f92acc32dbc993fc14e14ce922b584f12d584c43.tar.bz2
drakx-f92acc32dbc993fc14e14ce922b584f12d584c43.tar.xz
drakx-f92acc32dbc993fc14e14ce922b584f12d584c43.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')
-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,