aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Lallement <dams@mageia.org>2011-12-13 22:37:57 +0000
committerDamien Lallement <dams@mageia.org>2011-12-13 22:37:57 +0000
commit48d5e738940610746ccf2c560751d16c3b688c4b (patch)
treecfb7cb5a88821ae3693ee25e605e0b0c5dc93c60
parent224ee959c8aabf8018d30becf7138c77ea411355 (diff)
downloadisocheck-48d5e738940610746ccf2c560751d16c3b688c4b.tar
isocheck-48d5e738940610746ccf2c560751d16c3b688c4b.tar.gz
isocheck-48d5e738940610746ccf2c560751d16c3b688c4b.tar.bz2
isocheck-48d5e738940610746ccf2c560751d16c3b688c4b.tar.xz
isocheck-48d5e738940610746ccf2c560751d16c3b688c4b.zip
update 'display '
-rw-r--r--Tools.pm2
1 files changed, 1 insertions, 1 deletions
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;