summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xlib/MDV/Control_Center.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index b42190f3..c20cc577 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- fix providing the right version to extended maintenance tool
+
Version 12.18 - 22 January 2010, Thierry Vignaud
- add extended maintenance icon
diff --git a/lib/MDV/Control_Center.pm b/lib/MDV/Control_Center.pm
index 584c5f89..2038688f 100755
--- a/lib/MDV/Control_Center.pm
+++ b/lib/MDV/Control_Center.pm
@@ -34,7 +34,7 @@ our @EXPORT = qw(
$version
);
-our $version = `cat /etc/mandrakelinux-release` =~ /\b(\d+\.{1}.+\))/;
+our ($version) = `cat /etc/mandrakelinux-release` =~ /\b(\d+\.{1}.+\))/;
#-------------------------------------------------------------