From c3a7ad948d832037885a5df423f9040877effeab Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Wed, 18 Feb 2004 14:54:03 +0000 Subject: ok, ok, perl checker roulaize --- perl-install/install_any.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/install_any.pm') diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index ed3f2016f..8c1a3af1b 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -562,7 +562,7 @@ sub install_urpmi { open(my $F, "parsehdlist '$prefix/var/lib/urpmi/hdlist.$name.cz' |"); local $_; while (<$F>) { - my ($arch) = $_ =~ /\.([^\.]+)\.rpm$/; + my ($arch) = /\.([^\.]+)\.rpm$/; my $ldir = $dir; $ldir =~ s|/([^/]*)%{ARCH}|/./$1$arch|; $ldir =~ s|%{ARCH}|$arch|g; print $LIST "$ldir/$_"; -- cgit v1.2.1