From 47c045ac3aa9335ba2e2a409ccd3a0288c10683b Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 26 Mar 2012 18:21:07 +0000 Subject: (new) kill old resolved code that blino commented out in r130 on Nov 24 2010 --- lib/Iurt/Urpmi.pm | 9 --------- 1 file changed, 9 deletions(-) (limited to 'lib') 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}"; -- cgit v1.2.1