summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2004-03-23 09:40:31 +0000
committerDaouda Lo <daouda@mandriva.com>2004-03-23 09:40:31 +0000
commite3f0c85d905457db4db34b03efe266ab99404f7f (patch)
tree21079508bda2b1fda9b16132d157e8d95c02c57c
parent838b3c8ffdc2f12055ad80648aa8b385534e19cb (diff)
downloadmgaonline-e3f0c85d905457db4db34b03efe266ab99404f7f.tar
mgaonline-e3f0c85d905457db4db34b03efe266ab99404f7f.tar.gz
mgaonline-e3f0c85d905457db4db34b03efe266ab99404f7f.tar.bz2
mgaonline-e3f0c85d905457db4db34b03efe266ab99404f7f.tar.xz
mgaonline-e3f0c85d905457db4db34b03efe266ab99404f7f.zip
- mlog
-rwxr-xr-xmdkapplet6
1 files changed, 3 insertions, 3 deletions
diff --git a/mdkapplet b/mdkapplet
index a532a370..10fac1b8 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -169,7 +169,7 @@ sub setLabel {
}
sub configNetwork { $mLog .= N("Launching drakconnect\n"); system "/usr/sbin/drakconnect &" }
sub launchUpdate { $mLog .= N("Launching MandrakeUpdate\n"); system "/usr/sbin/MandrakeUpdate &" }
-sub installUpdates { $mLog .= N("Launching mdkupdate --applet"); system "/usr/sbin/mdkupdate", "--applet" }
+sub installUpdates { $mLog .= N("Launching mdkupdate --applet\n"); system "/usr/sbin/mdkupdate", "--applet" }
sub silentCheck {
my $link = "http://www.mandrakeonline.net/online3_RemoteAction.php" . '?action=UpdateList';
my %h = getVarsFromSh($conffile);
@@ -191,7 +191,7 @@ sub silentCheck {
# 98 - wrong pass
# 97 - host not active
my $retcode = {
- 10 => sub { $isAvailable = 0; $mLog .= N("System is up to date") ;go2State('okay') },
+ 10 => sub { $isAvailable = 0; $mLog .= N("System is up to date\n") ;go2State('okay') },
11 => sub {
my @contents = sort ( split /\n/, $ct);
my @t = split /\n/, `rpm -qa`;
@@ -204,7 +204,7 @@ sub silentCheck {
},
97 => sub { $mLog .= N("Online services disabled. Contact MandrakeOnline site\n") ; go2State('disabled'); },
98 => sub { $mLog .= N("Wrong Password.\n"); go2State('critical'); },
- 99 => sub { $mLog .= N("Wrong Action or host or login. "); go2State('critical'); }
+ 99 => sub { $mLog .= N("Wrong Action or host or login.\n"); go2State('critical'); }
};
$retcode->{$u}->();
}