This commit is contained in:
Joey Hess
2010-04-18 15:44:14 -04:00
parent cc5ff87ef6
commit 55edc3f59a
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@@ -84,7 +84,7 @@ sub scan {
SUMMARY DESCRIPTION PREFIXES},
keys(%fieldtrans)) {
my $value=$this->runpipe(0, "LANG=C rpm -qp --queryformat \%{$field} $file");
next if $? || $value eq 'none';
next if $? || $value eq '(none)';
my $key;
if (exists $fieldtrans{$field}) {
$key=$fieldtrans{$field};