diff options
Diffstat (limited to 'mdkupdate')
-rwxr-xr-x | mdkupdate | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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")); |