diff options
author | Florent Villard <warly@mandriva.com> | 2006-04-05 10:40:46 +0000 |
---|---|---|
committer | Florent Villard <warly@mandriva.com> | 2006-04-05 10:40:46 +0000 |
commit | 7aaba46b18b98e374e7a5d1afdecd0e0666395a4 (patch) | |
tree | 658818d8df401b6ab2011d3ef42eb3047c4939bf /mdkupdate | |
parent | baa6e672bae4e85fb93d0a9274671404813f9c1c (diff) | |
download | mgaonline-7aaba46b18b98e374e7a5d1afdecd0e0666395a4.tar mgaonline-7aaba46b18b98e374e7a5d1afdecd0e0666395a4.tar.gz mgaonline-7aaba46b18b98e374e7a5d1afdecd0e0666395a4.tar.bz2 mgaonline-7aaba46b18b98e374e7a5d1afdecd0e0666395a4.tar.xz mgaonline-7aaba46b18b98e374e7a5d1afdecd0e0666395a4.zip |
fix POST not kept
Diffstat (limited to 'mdkupdate')
-rwxr-xr-x | mdkupdate | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 { |