diff options
author | Daouda Lo <daouda@mandriva.com> | 2005-10-13 20:54:21 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2005-10-13 20:54:21 +0000 |
commit | c580f2c3cc215257f25cb6c5cf8856db8d1ae7f3 (patch) | |
tree | ace0ba7a08942d1fd559485984e678c646ed367e /mdkupdate | |
parent | 47ba2a9ddbdbb8dfde66a0b9bbc6c14e63e29a3c (diff) | |
download | mgaonline-c580f2c3cc215257f25cb6c5cf8856db8d1ae7f3.tar mgaonline-c580f2c3cc215257f25cb6c5cf8856db8d1ae7f3.tar.gz mgaonline-c580f2c3cc215257f25cb6c5cf8856db8d1ae7f3.tar.bz2 mgaonline-c580f2c3cc215257f25cb6c5cf8856db8d1ae7f3.tar.xz mgaonline-c580f2c3cc215257f25cb6c5cf8856db8d1ae7f3.zip |
- s/MandrakeUpdate/MandrivaUpdate/
Diffstat (limited to 'mdkupdate')
-rwxr-xr-x | mdkupdate | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -83,7 +83,7 @@ if ($o{LOGIN} && $o{PASS} && $o{LOGIN} !~ /\s+/ && $o{PASS} !~ /\s+/) { my $MandrakeUpdateURL = $url->{online3_RemoteAction} . '?action=ScheduledRPM' . '&log=' . $o{LOGIN} . '&pass=' . $o{PASS} . '&host=' . $o{MACHINE} . '&key=' . $o{CURRENTKEY}; my $resp = mdkonline::get_from_URL($MandrakeUpdateURL, 'MdkUpdateAgent'); my $contents = $resp->content; - #print "CONTENTS = $contents \n"; + print "CONTENTS = $contents \n"; -e $logfile and system "/bin/rm", $logfile; if ($resp->is_success) { if ($contents =~ /TRUE/) { $u = 10 } elsif ($contents =~ m/(\d+)/) { $u = sprintf("%d", $1) } else { $u = 83 } @@ -104,9 +104,9 @@ if ($o{LOGIN} && $o{PASS} && $o{LOGIN} !~ /\s+/ && $o{PASS} !~ /\s+/) { -f $currentrpm or rpm_qa($currentrpm); if ($opt eq '--applet') { if ($release <= 10.1) { - system "/usr/bin/MandrakeUpdate", "--no-confirmation", "--media=update_source", "--pkg-sel=$scheduled", "--pkg-nosel=$noscheduled"; + system "/usr/bin/MandrivaUpdate", "--no-confirmation", "--media=update_source", "--pkg-sel=$scheduled", "--pkg-nosel=$noscheduled"; } else { - system "/usr/bin/MandrakeUpdate", "--no-confirmation", "--no-media-update", "--media=update_source", "--pkg-sel=$scheduled", "--pkg-nosel=$noscheduled"; + system "/usr/bin/MandrivaUpdate", "--no-confirmation", "--no-media-update", "--media=update_source", "--pkg-sel=$scheduled", "--pkg-nosel=$noscheduled"; } } elsif ($opt eq '--noX') { my $in = interactive->vnew; |