aboutsummaryrefslogtreecommitdiffstats
path: root/Tools.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Tools.pm')
-rw-r--r--Tools.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools.pm b/Tools.pm
index 2342992..b94ac20 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} = $name;
+ $info{full} = split(/./, $name);
$info{name} = $1 if defined $1;
$info{version} = $2 if defined $2;
$info{release} = $4 if defined $4;