summaryrefslogtreecommitdiffstats
path: root/mdkupdate
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2006-04-05 10:40:46 +0000
committerFlorent Villard <warly@mandriva.com>2006-04-05 10:40:46 +0000
commit7aaba46b18b98e374e7a5d1afdecd0e0666395a4 (patch)
tree658818d8df401b6ab2011d3ef42eb3047c4939bf /mdkupdate
parentbaa6e672bae4e85fb93d0a9274671404813f9c1c (diff)
downloadmgaonline-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-xmdkupdate3
1 files changed, 1 insertions, 2 deletions
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 {