From 48d5e738940610746ccf2c560751d16c3b688c4b Mon Sep 17 00:00:00 2001 From: Damien Lallement Date: Tue, 13 Dec 2011 22:37:57 +0000 Subject: update 'display ' --- Tools.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools.pm b/Tools.pm index b94ac20..43ebeaa 100644 --- a/Tools.pm +++ b/Tools.pm @@ -41,7 +41,7 @@ sub parse_mageia_iso_name { my %info; if ($name =~ m/^(Mageia)-(\d+)(-((nightly|alpha|beta|RC)\d*))?(-(.*))?-(i586|x86_64|dual)?(-(CD|DVD|BR))?(-(build_\w+))?\.(.*)$/) { - $info{full} = split(/./, $name); + $info{full} = `echo $name | sed 's/.iso//g' | tr -d '\n'`; $info{name} = $1 if defined $1; $info{version} = $2 if defined $2; $info{release} = $4 if defined $4; -- cgit v1.2.1