From f92acc32dbc993fc14e14ce922b584f12d584c43 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 21 Dec 2012 17:37:44 +0000 Subject: (media_screen) display better release medium name in update medium description display medium name instead of path (eg: "Core Release" instead of "core/release" --- perl-install/install/any.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.1