diff options
-rw-r--r-- | Tools.pm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |