summaryrefslogtreecommitdiffstats
path: root/mdkupdate
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-03-09 13:42:59 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-03-09 13:42:59 +0000
commit4e93e4b770a77d7128591d1c6496263c9f5ee0ad (patch)
tree3f89386ec04f18fdc0f2358d4ded4604010b7baf /mdkupdate
parent8b1a29f8f25fe70881843a76b38e8b640684f137 (diff)
downloadmgaonline-4e93e4b770a77d7128591d1c6496263c9f5ee0ad.tar
mgaonline-4e93e4b770a77d7128591d1c6496263c9f5ee0ad.tar.gz
mgaonline-4e93e4b770a77d7128591d1c6496263c9f5ee0ad.tar.bz2
mgaonline-4e93e4b770a77d7128591d1c6496263c9f5ee0ad.tar.xz
mgaonline-4e93e4b770a77d7128591d1c6496263c9f5ee0ad.zip
rename VERSION as CLIENT_VERSION
Diffstat (limited to 'mdkupdate')
-rwxr-xr-xmdkupdate6
1 files changed, 3 insertions, 3 deletions
diff --git a/mdkupdate b/mdkupdate
index dd337479..a80b4c70 100755
--- a/mdkupdate
+++ b/mdkupdate
@@ -51,7 +51,7 @@ my $afterrpm = "$confdir/rpm_qa_installed_after";
my $startpage = 'http://start.mandriva.com/';
-my $VERSION = "4";
+my $CLIENT_VERSION = "4";
my $YEARS = "2002-2006";
#for compatibilities with former versions
@@ -65,7 +65,7 @@ Copyright (C) %s Mandriva.
This is free software and may be redistributed under the terms of the GNU GPL.
usage:
-", $VERSION, $YEARS) . N(" --help - print this help message.
+", $CLIENT_VERSION, $YEARS) . N(" --help - print this help message.
") . N(" --auto - Mandriva Update launched automatically.
") . N(" --applet - launch Mandriva Update.
") . N(" --mnf - launch mnf specific scripts.
@@ -148,7 +148,7 @@ if (!$bundle) {
$wc->{USER_EMAIL} or die("Configuration not uploaded to Mandriva Online");
my $res = mdkonline::prepare_upload_conf($wc);
- if ($bundle_vars{CLIENT_VERSION} > $VERSION) {
+ if ($bundle_vars{CLIENT_VERSION} > $CLIENT_VERSION) {
$in->ask_warn(N("Warning"), N("The version of the Mandriva Online client is too old.
You need to update to a newer version. You can get a new one from http://start.mandriva.com"));