diff options
author | Daouda Lo <daouda@mandriva.com> | 2004-12-15 12:13:49 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2004-12-15 12:13:49 +0000 |
commit | 8bddf4fe8cd32b0ec51bb7bd4db8737e1490aba9 (patch) | |
tree | d10f7f29c3153500740556ff51e7c81a09dac803 /mdkonline | |
parent | 45a7fabea0484791628f09c4bfc284a24a82bd09 (diff) | |
download | mgaonline-8bddf4fe8cd32b0ec51bb7bd4db8737e1490aba9.tar mgaonline-8bddf4fe8cd32b0ec51bb7bd4db8737e1490aba9.tar.gz mgaonline-8bddf4fe8cd32b0ec51bb7bd4db8737e1490aba9.tar.bz2 mgaonline-8bddf4fe8cd32b0ec51bb7bd4db8737e1490aba9.tar.xz mgaonline-8bddf4fe8cd32b0ec51bb7bd4db8737e1490aba9.zip |
merge with 10.0 and 10.1 updates
Diffstat (limited to 'mdkonline')
-rwxr-xr-x | mdkonline | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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); } |