summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-03-14 17:10:56 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-03-14 17:10:56 +0000
commit71cf33e3bf3b1eee514b16acca9c3b7e9afe0a42 (patch)
treeea8a9028c0f2dc0e8604888a9a5ad2c46f708059
parent0a9d03996fc46458b0916280146d7a05dbf84652 (diff)
downloadmgaonline-71cf33e3bf3b1eee514b16acca9c3b7e9afe0a42.tar
mgaonline-71cf33e3bf3b1eee514b16acca9c3b7e9afe0a42.tar.gz
mgaonline-71cf33e3bf3b1eee514b16acca9c3b7e9afe0a42.tar.bz2
mgaonline-71cf33e3bf3b1eee514b16acca9c3b7e9afe0a42.tar.xz
mgaonline-71cf33e3bf3b1eee514b16acca9c3b7e9afe0a42.zip
fix log::l() calls
-rw-r--r--mdkonline.pm10
-rwxr-xr-xmdkupdate8
2 files changed, 9 insertions, 9 deletions
diff --git a/mdkonline.pm b/mdkonline.pm
index 38cc4a15..a055f471 100644
--- a/mdkonline.pm
+++ b/mdkonline.pm
@@ -92,31 +92,31 @@ sub get_distro_type() {
sub soap_create_account {
my $data = $s->registerUser(@_)->result;
- log::l("creating account $_[0]")
+ log::l("creating account $_[0]");
$data;
}
sub soap_authenticate_user {
my $data = $s->authenticateUser(@_)->result;
- log::l("authenticating account $_[0]")
+ log::l("authenticating account $_[0]");
$data;
}
sub soap_register_host {
my $data = $s->registerHost(@_)->result;
- log::l("registering host $_[3] named $_[4] in country $_[5]")
+ log::l("registering host $_[3] named $_[4] in country $_[5]");
$data;
}
sub soap_upload_config {
my $data = $s->setHostConfig(@_);
- log::l("uploading config")
+ log::l("uploading config");
$data ? $data->result : undef;
}
sub soap_query_bundle {
my ($wc, $bundle_name) = @_;
- log::l("querying the bundle $bundle_name")
+ log::l("querying the bundle $bundle_name");
my $data = $s->query($wc->{HOST_ID}, $wc->{HOST_KEY}, 'Software::get_bundle', $bundle_name)->result;
$data;
}
diff --git a/mdkupdate b/mdkupdate
index 28b21f46..536e9f5a 100755
--- a/mdkupdate
+++ b/mdkupdate
@@ -155,7 +155,7 @@ if (!$bundle) {
my $res = mdkonline::prepare_upload_conf($wc);
if ($bundle_vars{CLIENT_VERSION} > $CLIENT_VERSION) {
- log::l("the client is too old in order to install the bundle $bundle_vars{BUNDLE}")
+ log::l("the client is too old in order to install the bundle $bundle_vars{BUNDLE}");
$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"));
@@ -226,10 +226,10 @@ sub install_pkgs {
my $w = $in->wait_message(N("Please wait"), N("Installing packages ...\n"));
eval {
if (!$o_options->{is_bundle}) {
- log::l("applying the updates")
+ log::l("applying the updates");
system "/usr/sbin/gurpmi", "--auto", "--media", $media_name, @$choosed;
} else {
- log::l("installing the bundle")
+ log::l("installing the bundle");
system "/usr/bin/gurpmi", '--auto', if_($o_options->{auto_select}, "--auto-select"),
if_($o_options->{medias}, "--media", join(',', @{$o_options->{medias}})),
"--searchmedia", $media_name, @$choosed;
@@ -277,7 +277,7 @@ sub auto_install_rpms {
sub add_media {
my ($media_name, $mirror, $hdlist, $option) = @_;
- log::l("removing/adding the media $media_name")
+ log::l("removing/adding the media $media_name");
eval {
system "/usr/sbin/urpmi.removemedia", $media_name;
# use curl because wget sometime fail on https url