diff options
author | Daouda Lo <daouda@mandriva.com> | 2004-11-24 23:39:49 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2004-11-24 23:39:49 +0000 |
commit | f2b0ed469f2b10c2c2e2af349be00f334489803d (patch) | |
tree | 7cc20c2d2385cb6417783758ac7c99740647ee9e | |
parent | 1fb3ac99e3e8d261f389965fcd8f372105299f3b (diff) | |
download | mgaonline-f2b0ed469f2b10c2c2e2af349be00f334489803d.tar mgaonline-f2b0ed469f2b10c2c2e2af349be00f334489803d.tar.gz mgaonline-f2b0ed469f2b10c2c2e2af349be00f334489803d.tar.bz2 mgaonline-f2b0ed469f2b10c2c2e2af349be00f334489803d.tar.xz mgaonline-f2b0ed469f2b10c2c2e2af349be00f334489803d.zip |
- pre release
-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); } |