summaryrefslogtreecommitdiffstats
path: root/mdkupdate
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-03-09 16:45:10 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-03-09 16:45:10 +0000
commitd0ba39573fc478a30350c6c3cd90bf6df19b3500 (patch)
treec1eba7f189e9bc9e9926fa88772b0990686eb5c3 /mdkupdate
parent7aea72f9d79162d97fbbd4c4b30edf41e0cac0e7 (diff)
downloadmgaonline-d0ba39573fc478a30350c6c3cd90bf6df19b3500.tar
mgaonline-d0ba39573fc478a30350c6c3cd90bf6df19b3500.tar.gz
mgaonline-d0ba39573fc478a30350c6c3cd90bf6df19b3500.tar.bz2
mgaonline-d0ba39573fc478a30350c6c3cd90bf6df19b3500.tar.xz
mgaonline-d0ba39573fc478a30350c6c3cd90bf6df19b3500.zip
workaround an issue with browsers that sometimes drop the --bundle option
Diffstat (limited to 'mdkupdate')
-rwxr-xr-xmdkupdate3
1 files changed, 3 insertions, 0 deletions
diff --git a/mdkupdate b/mdkupdate
index da86eaed..0747fcc2 100755
--- a/mdkupdate
+++ b/mdkupdate
@@ -88,6 +88,9 @@ my %options = (
GetOptions(%options);
+# workaround an issue with browsers that sometimes drop the --bundle option:
+$bundle = shift @ARGV if $ARGV[0] =~ /\.bundle$/;
+
$bundle eq "webbundle" and mdkonline::get_site($startpage), exit(0);
my $in;