summaryrefslogtreecommitdiffstats
path: root/mdkupdate
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2006-02-23 17:19:27 +0000
committerDaouda Lo <daouda@mandriva.com>2006-02-23 17:19:27 +0000
commit2d8b2f6a7c3d8f1d0ac6e770ac07926852049305 (patch)
treebd750ff20f3603b9f7690f5fa1d03e63b63efab0 /mdkupdate
parent4282973b193192aa21060c386bd9bb2b0762f0b2 (diff)
downloadmgaonline-2d8b2f6a7c3d8f1d0ac6e770ac07926852049305.tar
mgaonline-2d8b2f6a7c3d8f1d0ac6e770ac07926852049305.tar.gz
mgaonline-2d8b2f6a7c3d8f1d0ac6e770ac07926852049305.tar.bz2
mgaonline-2d8b2f6a7c3d8f1d0ac6e770ac07926852049305.tar.xz
mgaonline-2d8b2f6a7c3d8f1d0ac6e770ac07926852049305.zip
- fix func name
Diffstat (limited to 'mdkupdate')
-rwxr-xr-xmdkupdate4
1 files changed, 1 insertions, 3 deletions
diff --git a/mdkupdate b/mdkupdate
index dbd8b74c..2aab64dd 100755
--- a/mdkupdate
+++ b/mdkupdate
@@ -86,8 +86,6 @@ my %options = (
GetOptions(%options);
--s $conffile || $bundle or die N("No %s file found. Run mdkonline wizard first", $conffile);
-
$bundle eq "webbundle" and mdkonline::get_site($startpage), exit(0);
my $result;
@@ -97,7 +95,7 @@ my $wc = mdkonline::read_conf();
if (!$bundle) {
if ($wc->{HOST_ID} && $wc->{HOST_KEY}) {
my $getupdates;
- $getupdates = mdkonline::get_update_for_host($wc->{HOST_ID}, $wc->{HOST_KEY});
+ $getupdates = mdkonline::get_updates_for_host($wc->{HOST_ID}, $wc->{HOST_KEY});
if ($getupdates->{message}) {
print Dumper($getupdates);
exit(0);