summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-02 18:06:22 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-02 18:06:22 +0000
commit35328ee96437da07bc6cf8d4e16b4de34e71bd83 (patch)
tree17fa805e8e6f1a92d309a6c128a2e38deb266964 /perl-install/standalone.pm
parentc0ed06c92c9e7bd99463d00ed6575475619f58d7 (diff)
downloaddrakx-35328ee96437da07bc6cf8d4e16b4de34e71bd83.tar
drakx-35328ee96437da07bc6cf8d4e16b4de34e71bd83.tar.gz
drakx-35328ee96437da07bc6cf8d4e16b4de34e71bd83.tar.bz2
drakx-35328ee96437da07bc6cf8d4e16b4de34e71bd83.tar.xz
drakx-35328ee96437da07bc6cf8d4e16b4de34e71bd83.zip
report real version on --help, set by Makefie
Diffstat (limited to 'perl-install/standalone.pm')
-rw-r--r--perl-install/standalone.pm5
1 files changed, 4 insertions, 1 deletions
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 <install@mandriva.com>
', $::license, "\n";
}