From a1740a6ae3d1cff671da03dfe8f48fd3858300ab Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 4 Oct 2007 16:52:39 +0000 Subject: fix version reported by drakfont & harddrake --- perl-install/NEWS | 1 + perl-install/standalone/drakfont | 2 +- perl-install/standalone/harddrake2 | 2 +- 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), -- cgit v1.2.1