From 7aaba46b18b98e374e7a5d1afdecd0e0666395a4 Mon Sep 17 00:00:00 2001 From: Florent Villard Date: Wed, 5 Apr 2006 10:40:46 +0000 Subject: fix POST not kept --- mdkupdate | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mdkupdate') diff --git a/mdkupdate b/mdkupdate index e2fa7ba3..8050ef45 100755 --- a/mdkupdate +++ b/mdkupdate @@ -93,7 +93,6 @@ my %options = ( ); GetOptions(%options); - # workaround an issue with browsers that sometimes drop the --bundle option: $bundle = shift @ARGV if $ARGV[0] =~ /\.bundle$/; @@ -211,7 +210,7 @@ You need to update to a newer version. You can get a new one from http://start.m my %mirrors = add_mirrors($in, $w, $mirrors, \%bundle_vars); install_pkgs($in, \@bundles, (find { /^bundle/ } keys %mirrors), { is_bundle => 1, - auto_select => ($wc->{POST} =~ /AUTO_SELECT/ ? 1 : 0), + auto_select => ($bundle_vars{POST} =~ /AUTO_SELECT/ ? 1 : 0), medias => [ keys %mirrors ], }); } else { -- cgit v1.2.1