Added logic to the deb pkg script to not put duplicate entries into the pkg depends list.
This commit is contained in:
parent
09d84283cd
commit
3573a596e9
|
@ -60,7 +60,12 @@ for ($i=0; $i<$#libls; $i++)
|
|||
if ( $libls[$i] eq $filepath )
|
||||
{
|
||||
#print "PKG: '$pkg' '$libls[$i]' == '$filepath' \n";
|
||||
# Don't put duplicate entries into the pkg depend list.
|
||||
if ( !defined( $pkghash{$pkg} ) )
|
||||
{
|
||||
$pkgdeps[ $#pkgdeps ] = $pkg; $#pkgdeps++;
|
||||
$pkghash{$pkg} = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue