summaryrefslogtreecommitdiffstats
path: root/mdkonline
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2004-12-15 12:13:49 +0000
committerDaouda Lo <daouda@mandriva.com>2004-12-15 12:13:49 +0000
commit8bddf4fe8cd32b0ec51bb7bd4db8737e1490aba9 (patch)
treed10f7f29c3153500740556ff51e7c81a09dac803 /mdkonline
parent45a7fabea0484791628f09c4bfc284a24a82bd09 (diff)
downloadmgaonline-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-xmdkonline8
1 files changed, 4 insertions, 4 deletions
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);
}