diff options
-rwxr-xr-x | tools/install-xml-file-list | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/install-xml-file-list b/tools/install-xml-file-list index 56b7a0a4f..89afc6efd 100755 --- a/tools/install-xml-file-list +++ b/tools/install-xml-file-list @@ -291,7 +291,7 @@ sub install { } elsif ($expand eq 'rpm') { $disallow_from_dir->(); foreach my $rpm (@text_l) { - my @l = chomp_(`rpm -ql $rpm`) or error("rpm $rpm must be installed"); + my @l = chomp_(`rpm -qls $rpm|grep -v \'not installed\'|awk -F\' \' \'{print \$2}\'`) or error("rpm $rpm must be installed"); push @files, @l; } |