diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-03-14 14:07:39 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-03-14 14:07:39 +0000 |
commit | a59142eb38d1db499747c01569f800b13c631c0b (patch) | |
tree | d4b8b1acd6f6901540f482d5d74b8573542664c4 | |
parent | 8a76774931ef2104853b265dbeac2563e105a415 (diff) | |
download | urpmi-a59142eb38d1db499747c01569f800b13c631c0b.tar urpmi-a59142eb38d1db499747c01569f800b13c631c0b.tar.gz urpmi-a59142eb38d1db499747c01569f800b13c631c0b.tar.bz2 urpmi-a59142eb38d1db499747c01569f800b13c631c0b.tar.xz urpmi-a59142eb38d1db499747c01569f800b13c631c0b.zip |
--install-src was broken
-rw-r--r-- | urpm.pm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2136,7 +2136,7 @@ sub register_rpms { ($id) = $urpm->parse_rpm($_); my $pkg = defined $id && $urpm->{depslist}[$id]; $pkg or $error = 1, $urpm->{error}(N("unable to register rpm file")), next; - $pkg->is_arch_compat() + $pkg->arch eq 'src' || $pkg->is_arch_compat() or $error = 1, $urpm->{error}(N("Incompatible architecture for rpm [%s]", $_)), next; $urpm->{source}{$id} = $_; } |