Switched the order of preference in choosing a package to use as a control for

testing. The kernel package might have more than one instance on the system,
which breaks some of the tests. The rpm package should be OK.

CVS patchset: 5392
CVS date: 2002/04/11 22:38:07
This commit is contained in:
rjray 2002-04-11 22:38:07 +00:00
parent 8a44e3aba9
commit ef7f4a88db
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ tie %DB, "RPM::Database" or die "$RPM::err";
#
# Find a package to use for package existence and data integrity testing.
#
for (qw(kernel rpm inetd bash))
for (qw(rpm kernel inetd bash))
{
$test_pack = $_, last if (exists $DB{$_});
}