summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r--perl-install/pkgs.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index b55e737ea..eb360a53f 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -509,7 +509,8 @@ sub getDeps {
local *F; open F, "$prefix/var/lib/urpmi/depslist.ordered" or die "can't find dependancies list";
local $_;
while (<F>) {
- my ($name, $version, $release, $sizeDeps) = /^(\S*)-([^-\s]+)-([^-\s]+)\s+(.*)/;
+ my ($name, $version, $release, $arch, $serial, $sizeDeps) =
+ /^([^:\s]*)-([^:\-\s]+)-([^:\-\s]+)\.([^:\.\-\s]*)(?::(\d+)\S*)?\s+(.*)/;
my $pkg = $packages->{names}{$name};
#- these verification are necessary in case of error, but are no more fatal as