summaryrefslogtreecommitdiffstats
path: root/gurpmi.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.com>2006-06-07 09:52:54 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.com>2006-06-07 09:52:54 +0000
commit5fb342d91de5cd6dfd3a94511fcfa1102739b545 (patch)
treeb1b7b539e23d3f6c978ae1669c267c74d4596599 /gurpmi.pm
parent610920956436a12457ffff01c64104acd838e08d (diff)
downloadurpmi-5fb342d91de5cd6dfd3a94511fcfa1102739b545.tar
urpmi-5fb342d91de5cd6dfd3a94511fcfa1102739b545.tar.gz
urpmi-5fb342d91de5cd6dfd3a94511fcfa1102739b545.tar.bz2
urpmi-5fb342d91de5cd6dfd3a94511fcfa1102739b545.tar.xz
urpmi-5fb342d91de5cd6dfd3a94511fcfa1102739b545.zip
Use revision number as version numbers for internal modules.
For gurpmi.pm, use the same version number as urpm.
Diffstat (limited to 'gurpmi.pm')
-rw-r--r--gurpmi.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gurpmi.pm b/gurpmi.pm
index 16a369c2..574043b6 100644
--- a/gurpmi.pm
+++ b/gurpmi.pm
@@ -2,6 +2,7 @@ package gurpmi;
#- Copyright (C) 2005 MandrakeSoft SA
#- Copyright (C) 2005, 2006 Mandriva SA
+#- $Id$
#- This is needed because text printed by Gtk2 will always be encoded
#- in UTF-8; we first check if LC_ALL is defined, because if it is,
@@ -22,7 +23,7 @@ use strict;
use Exporter;
our @ISA = qw(Exporter);
our @EXPORT = qw(fatal but quit add_button_box new_label N);
-(our $VERSION) = q$Id$ =~ /(\d+\.\d+)/;
+our $VERSION = $urpm::VERSION;
sub usage () {
print <<USAGE;