summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2004-03-03 16:28:00 +0000
committerDaouda Lo <daouda@mandriva.com>2004-03-03 16:28:00 +0000
commit4d618435769f15dbfd976e99a27a4bacf922bfab (patch)
treec680304b277b6036bd96fec4f77218b031b1c649 /mdkapplet
parentc7ca7610613199a6c1feeb1555c41701619bf967 (diff)
downloadmgaonline-4d618435769f15dbfd976e99a27a4bacf922bfab.tar
mgaonline-4d618435769f15dbfd976e99a27a4bacf922bfab.tar.gz
mgaonline-4d618435769f15dbfd976e99a27a4bacf922bfab.tar.bz2
mgaonline-4d618435769f15dbfd976e99a27a4bacf922bfab.tar.xz
mgaonline-4d618435769f15dbfd976e99a27a4bacf922bfab.zip
s/box/machine/
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet5
1 files changed, 4 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index a4c0a79f..7ac3007d 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -177,9 +177,11 @@ sub silentCheck {
$ua->agent("MdkAppletAgent/0.1" . $ua->agent);
$ua->env_proxy;
# my $request = HTTP::Request->new(GET => $link . '&log=' . "ayomigration" . '&host=' . "online");
- my $request = HTTP::Request->new(GET => $link . '&log=' . $h{LOGIN} . '&host=' . $h{BOX});
+ my $request = HTTP::Request->new(GET => $link . '&log=' . $h{LOGIN} . '&host=' . $h{MACHINE});
+ my $lnk = $link . '&log=' . $h{LOGIN} . '&host=' . $h{MACHINE};
my $response = $ua->request($request);
my $ct = $response->content;
+ print "\nCONTENTS = $ct; link = $lnk \n";
if ($ct =~ /rpm/) { $u = 11 } elsif ($ct =~ m/(\d+)/) { $u = sprintf("%d",$1); } else { $u = 10 };
# 99 - log or host or action or pass empty, wrong action
# 98 - wrong pass
@@ -238,6 +240,7 @@ sub isNetwork {
}
sub configure {
system "/usr/sbin/mdkonline &";
+
}
sub getSite {
my $b = browser();