summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-10-04 16:52:39 +0000
committerThierry Vignaud <tv@mandriva.org>2007-10-04 16:52:39 +0000
commita1740a6ae3d1cff671da03dfe8f48fd3858300ab (patch)
tree80180480838c60d0bfdc32f40d00c9d4a9a50d12
parent5501afe4c679f16d0599352f618900b8a0388ce9 (diff)
downloaddrakx-a1740a6ae3d1cff671da03dfe8f48fd3858300ab.tar
drakx-a1740a6ae3d1cff671da03dfe8f48fd3858300ab.tar.gz
drakx-a1740a6ae3d1cff671da03dfe8f48fd3858300ab.tar.bz2
drakx-a1740a6ae3d1cff671da03dfe8f48fd3858300ab.tar.xz
drakx-a1740a6ae3d1cff671da03dfe8f48fd3858300ab.zip
fix version reported by drakfont & harddrake
-rw-r--r--perl-install/NEWS1
-rwxr-xr-xperl-install/standalone/drakfont2
-rwxr-xr-xperl-install/standalone/harddrake22
3 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 29a2b024b..48c2a6ccb 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,4 +1,5 @@
- fix installed modules detection (#34478)
+- fix version reported by drakfont & harddrake
- when checking dkms module packages, check that modules are either
available in urpmi media, or already installed (fix detection in live)
diff --git a/perl-install/standalone/drakfont b/perl-install/standalone/drakfont
index 98b753938..cce577201 100755
--- a/perl-install/standalone/drakfont
+++ b/perl-install/standalone/drakfont
@@ -529,7 +529,7 @@ sub help() {
my $license = formatAlaTeX(translate($::license));
$license =~ s/\n/\n\n/sg; # nicer formatting
my $w = gtknew('AboutDialog', name => N("Drakfont"),
- version => '2007',
+ version => mandrake_release_info()->{version},
copyright => N("Copyright (C) 2001-2006 by Mandriva"),
license => $license, wrap_license => 1,
comments => N("Font installer."),
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2
index 797403e5e..b0435b097 100755
--- a/perl-install/standalone/harddrake2
+++ b/perl-install/standalone/harddrake2
@@ -230,7 +230,7 @@ my @menu_items =
my $license = formatAlaTeX(translate($::license));
$license =~ s/\n/\n\n/sg; # nicer formatting
my $w = gtknew('AboutDialog', name => N("Harddrake"),
- version => '2007',
+ version => mandrake_release_info()->{version},
copyright => N("Copyright (C) %s by Mandriva", '2001-2007'),
license => $license, wrap_license => 1,
comments => N("This is HardDrake, a %s hardware configuration tool.", $distro_name),