summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-03-11 10:05:39 +0000
committerThierry Vignaud <tv@mandriva.org>2009-03-11 10:05:39 +0000
commitb9860580a86b61db3a6c22046d4c695aace573eb (patch)
tree755b19c843a9ef1a1a785f04921f0878b92961ae
parentc2c1c5f44ad3249e0dd7060c478e309a3b39d13d (diff)
downloaddrakx-b9860580a86b61db3a6c22046d4c695aace573eb.tar
drakx-b9860580a86b61db3a6c22046d4c695aace573eb.tar.gz
drakx-b9860580a86b61db3a6c22046d4c695aace573eb.tar.bz2
drakx-b9860580a86b61db3a6c22046d4c695aace573eb.tar.xz
drakx-b9860580a86b61db3a6c22046d4c695aace573eb.zip
(install_urpmi) kill unused 'static' variable
-rw-r--r--perl-install/install/media.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/install/media.pm b/perl-install/install/media.pm
index 4a3740597..9b6e5552c 100644
--- a/perl-install/install/media.pm
+++ b/perl-install/install/media.pm
@@ -916,7 +916,7 @@ sub install_urpmi {
my (@cfg, @netrc);
foreach my $medium (@media) {
if ($medium->{selected}) {
- my ($dir, $removable_device, $static);
+ my ($dir, $removable_device);
my $phys_m = $medium->{phys_medium};
if ($phys_m->{method} eq 'ftp' || $phys_m->{method} eq 'http' || $phys_m->{method} eq 'cdrom') {
@@ -948,8 +948,6 @@ sub install_urpmi {
" removable: $removable_device"),
if_($medium->{update},
" update"),
- if_($static,
- " static"),
"}";
} else {
#- remove deselected media by removing copied hdlist and synthesis files