summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmdkupdate4
1 files changed, 3 insertions, 1 deletions
diff --git a/mdkupdate b/mdkupdate
index 5c5a7b85..59e93134 100755
--- a/mdkupdate
+++ b/mdkupdate
@@ -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) {