From 4e93e4b770a77d7128591d1c6496263c9f5ee0ad Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 9 Mar 2006 13:42:59 +0000 Subject: rename VERSION as CLIENT_VERSION --- mdkupdate | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mdkupdate') 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")); -- cgit v1.2.1