diff options
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) { |