summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2004-02-18 14:54:03 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2004-02-18 14:54:03 +0000
commitc3a7ad948d832037885a5df423f9040877effeab (patch)
treeb28d60342d445ac8c0f0245bca024835d369fb1f /perl-install
parent320210cc26f2d846b501f925d7b8cc6a26ac845b (diff)
downloaddrakx-c3a7ad948d832037885a5df423f9040877effeab.tar
drakx-c3a7ad948d832037885a5df423f9040877effeab.tar.gz
drakx-c3a7ad948d832037885a5df423f9040877effeab.tar.bz2
drakx-c3a7ad948d832037885a5df423f9040877effeab.tar.xz
drakx-c3a7ad948d832037885a5df423f9040877effeab.zip
ok, ok, perl checker roulaize
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
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/$_";