diff options
author | Thierry Vignaud <tv@mandriva.org> | 2010-01-25 13:29:05 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2010-01-25 13:29:05 +0000 |
commit | c50045a30909b45a45cf5efa5db02fb347bc84f4 (patch) | |
tree | 5b898781abcc432dc0e85e0f9cd2075056d54764 | |
parent | c1e8d25ef8219ce6e8f6a0977207306dcdbb1631 (diff) | |
download | control-center-c50045a30909b45a45cf5efa5db02fb347bc84f4.tar control-center-c50045a30909b45a45cf5efa5db02fb347bc84f4.tar.gz control-center-c50045a30909b45a45cf5efa5db02fb347bc84f4.tar.bz2 control-center-c50045a30909b45a45cf5efa5db02fb347bc84f4.tar.xz control-center-c50045a30909b45a45cf5efa5db02fb347bc84f4.zip |
fix retrieving version
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | lib/MDV/Control_Center.pm | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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}.+\))/; #------------------------------------------------------------- |