diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-05-26 07:11:16 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-05-26 07:11:16 +0000 |
commit | 290364f5c8216dc3c17a2e9446865776df4cd684 (patch) | |
tree | 4f33fd8c0534aadb2d6a5da5814cceec2f16bba0 /perl-install/pkgs.pm | |
parent | 5aa7ace09b0e66cd6c75c83e8853460435089286 (diff) | |
download | drakx-290364f5c8216dc3c17a2e9446865776df4cd684.tar drakx-290364f5c8216dc3c17a2e9446865776df4cd684.tar.gz drakx-290364f5c8216dc3c17a2e9446865776df4cd684.tar.bz2 drakx-290364f5c8216dc3c17a2e9446865776df4cd684.tar.xz drakx-290364f5c8216dc3c17a2e9446865776df4cd684.zip |
Show the "downloading hdlist" wait box only when downloading hdlist from a network medium
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r-- | perl-install/pkgs.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm index d895b07c2..836e1ba7b 100644 --- a/perl-install/pkgs.pm +++ b/perl-install/pkgs.pm @@ -468,7 +468,7 @@ sub psUsingHdlist { my $newf = "$urpmidir/hdlist.$fakemedium.cz" . ($hdlist =~ /\.cz2/ && "2"); unless ($o_nocopy) { my $w_wait; - $w_wait = $::o->wait_message(N("Please wait"), N("Downloading file %s...", $hdlist)) if $::o->{method} =~ /^(?:ftp|http|nfs)$/; + $w_wait = $::o->wait_message(N("Please wait"), N("Downloading file %s...", $hdlist)) if $method =~ /^(?:ftp|http|nfs)$/; -e $newf and do { unlink $newf or die "cannot remove $newf: $!" }; install_any::getAndSaveFile($o_fhdlist || "media/media_info/$hdlist", $newf) or do { unlink $newf; die "no $hdlist found" }; $m->{hdlist_size} = -s $newf; #- keep track of size for post-check. |