diff options
author | Francois Pons <fpons@mandriva.com> | 2001-07-05 10:07:14 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-07-05 10:07:14 +0000 |
commit | 8da0fb2c7218443243777a30964c1695c579e68c (patch) | |
tree | ab374709458edbbdec33cc8641a9ef90404c00de /urpm.pm | |
parent | 0f40ccec05fc93b5740871aec41c456b9b0bd465 (diff) | |
download | urpmi-8da0fb2c7218443243777a30964c1695c579e68c.tar urpmi-8da0fb2c7218443243777a30964c1695c579e68c.tar.gz urpmi-8da0fb2c7218443243777a30964c1695c579e68c.tar.bz2 urpmi-8da0fb2c7218443243777a30964c1695c579e68c.tar.xz urpmi-8da0fb2c7218443243777a30964c1695c579e68c.zip |
now should have fixed local rpm install.
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1462,7 +1462,11 @@ sub get_source_packages { #- build association hash to retrieve id and examine all list files. foreach (keys %$packages) { my $p = $urpm->{params}{depslist}[$_]; - $fullname2id{"$p->{name}-$p->{version}-$p->{release}.$p->{arch}"} = $_; + if ($p->{source}) { + push @local_sources, $p->{source}; + } else { + $fullname2id{"$p->{name}-$p->{version}-$p->{release}.$p->{arch}"} = $_; + } } #- examine each medium to search for packages. |