diff options
author | Daouda Lo <daouda@mandriva.com> | 2006-02-16 16:50:48 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2006-02-16 16:50:48 +0000 |
commit | ed30fd04344fc3c3fa37340dd18a7af13157f564 (patch) | |
tree | 006dab24fea92f1117fa0420403764bb07c037ed /mdkupdate | |
parent | fbfa1e60687f9d46ac6f98bcf3ebabaa78c2bf2e (diff) | |
download | mgaonline-ed30fd04344fc3c3fa37340dd18a7af13157f564.tar mgaonline-ed30fd04344fc3c3fa37340dd18a7af13157f564.tar.gz mgaonline-ed30fd04344fc3c3fa37340dd18a7af13157f564.tar.bz2 mgaonline-ed30fd04344fc3c3fa37340dd18a7af13157f564.tar.xz mgaonline-ed30fd04344fc3c3fa37340dd18a7af13157f564.zip |
- if bundle is given without arg, connect to mdkonline bundle webpage.
Diffstat (limited to 'mdkupdate')
-rwxr-xr-x | mdkupdate | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -82,13 +82,15 @@ my %options = ( 'a|applet' => \$applet, 'mnf' => \$mnf, 'noX' => \$noX, - 'b|bundle=s' => \$bundle + 'b|bundle:s' => sub { $bundle = $_[1] || 'webbundle' } ); GetOptions(%options); -s $conffile || $bundle or die N("No %s file found. Run mdkonline wizard first", $conffile); +$bundle eq "webbundle" and mdkonline::get_site("http://online3.mandriva.com/one/web/bundle"), exit(0); + my %o = getVarsFromSh($conffile); if (!$bundle) { |