From 8bddf4fe8cd32b0ec51bb7bd4db8737e1490aba9 Mon Sep 17 00:00:00 2001 From: Daouda Lo Date: Wed, 15 Dec 2004 12:13:49 +0000 Subject: merge with 10.0 and 10.1 updates --- mdkonline | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mdkonline') diff --git a/mdkonline b/mdkonline index 9c5ae14f..f24ef0e6 100755 --- a/mdkonline +++ b/mdkonline @@ -43,7 +43,7 @@ my $online_link = 'https://www.mandrakeonline.net'; my $confdir = '/root/.MdkOnline'; my $conffile = "$confdir/mdkupdate"; -my $logfile = '/tmp/mdkonline.log'; +my $logfile = '/var/tmp/mdkonline.log'; #for compatibilities mkdir_p($confdir) if !-d $confdir; @@ -212,9 +212,9 @@ if ($login && $password && $boxname) { if ($sendconfres eq 'TRUE' && $key) { mdkonline::automated_upgrades($conffile, $login, md5_hex($password), $boxname, $key, $country, 'TRUE'); mdkonline::write_wide_conf($login, $boxname, $country); - output($logfile, N("Configuration uploaded successfully")) - } else { output($logfile, N("Problem uploading configuration")) } - } else { output($logfile, N("Cannot connect to mandrakeonline website: wrong login/password or router/firewall bad settings")) } + output_p($logfile, N("Configuration uploaded successfully")) + } else { output_p($logfile, N("Problem uploading configuration")) } + } else { output_p($logfile, N("Cannot connect to mandrakeonline website: wrong login/password or router/firewall bad settings")) } } else { wizards->new->safe_process($wiz, $in); } -- cgit v1.2.1