diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-03-26 18:21:07 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-03-26 18:21:07 +0000 |
commit | 47c045ac3aa9335ba2e2a409ccd3a0288c10683b (patch) | |
tree | 77d203068e9a6262ab07a617e368b09d890a8721 /lib/Iurt/Urpmi.pm | |
parent | f686cda7cf94583b8d4b49ee0dcafaf1d32a218b (diff) | |
download | iurt-47c045ac3aa9335ba2e2a409ccd3a0288c10683b.tar iurt-47c045ac3aa9335ba2e2a409ccd3a0288c10683b.tar.gz iurt-47c045ac3aa9335ba2e2a409ccd3a0288c10683b.tar.bz2 iurt-47c045ac3aa9335ba2e2a409ccd3a0288c10683b.tar.xz iurt-47c045ac3aa9335ba2e2a409ccd3a0288c10683b.zip |
(new) kill old resolved code that blino commented out in r130 on Nov
24 2010
Diffstat (limited to 'lib/Iurt/Urpmi.pm')
-rw-r--r-- | lib/Iurt/Urpmi.pm | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/Iurt/Urpmi.pm b/lib/Iurt/Urpmi.pm index bddc5aa..f9ff838 100644 --- a/lib/Iurt/Urpmi.pm +++ b/lib/Iurt/Urpmi.pm @@ -22,15 +22,6 @@ sub new { my $run = $self->{run}; if ($run->{chrooted_urpmi}) { - #my ($host) = $run->{chrooted_urpmi}{rooted_media} =~ m,(?:file|http|ftp)://([^/]*),; - #my ($_name, $_aliases, $_addrtype, $_length, @addrs) = gethostbyname($host); - # - #my $ip = join('.', unpack('C4', $addrs[0])); - # - #$ip =~ /\d+\.\d+\.\d+\.\d+/ - # or die "FATAL: could not resolve $host ip address"; - # - #$run->{chrooted_urpmi}{rooted_media} =~ s/$host/$ip/; $run->{chrooted_media} = $run->{chrooted_urpmi}{rooted_media} . "/$run->{distro}/$run->{my_arch}"; |