From 35328ee96437da07bc6cf8d4e16b4de34e71bd83 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 2 Aug 2007 18:06:22 +0000 Subject: report real version on --help, set by Makefie --- perl-install/standalone.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'perl-install/standalone.pm') diff --git a/perl-install/standalone.pm b/perl-install/standalone.pm index 721a22bd0..dc8339662 100644 --- a/perl-install/standalone.pm +++ b/perl-install/standalone.pm @@ -133,9 +133,12 @@ sub __exit { } +sub real_version { + return "VER"; # version automatically set from Makefile +} sub version() { - print 'Drakxtools version 10 + print 'Drakxtools version ' . real_version() . ' Copyright (C) 1999-2006 Mandriva by ', $::license, "\n"; } -- cgit v1.2.1