defect 4494: fix lskmodules to find both *.deb and *.udeb packages

This commit is contained in:
mellor 2015-03-10 08:41:52 -04:00
parent e5cee0d433
commit 551bc0ab11

View File

@ -462,7 +462,7 @@ sub set_sources {
my @kernel_rpms = ();
if ($ou_entry->{'basename'} =~ /^ubuntu/)
{
@kernel_rpms = `find $dirpath/pool/main/l/linux/ -name *.deb`;
@kernel_rpms = `find $dirpath/pool/main/l/linux/ -name *deb`;
}
else
{
@ -511,7 +511,7 @@ sub set_sources {
my @kernel_rpms = ();
if ($od_entry->{'basename'} =~ /ubuntu/)
{
@kernel_rpms = `find $dirpath/pool/main/l/linux/ -name *.deb`;
@kernel_rpms = `find $dirpath/pool/main/l/linux/ -name *deb`;
}
else
{
@ -532,7 +532,7 @@ sub set_sources {
my @kernel_rpms = ();
if ($od_entry->{'basename'} =~ /ubuntu/)
{
@kernel_rpms = `find $dirpath/pool/main/l/linux/ -name *.deb`;
@kernel_rpms = `find $dirpath/pool/main/l/linux/ -name *deb`;
}
else
{