X-Git-Url: https://git.donarmstrong.com/?p=bugscan.git;a=blobdiff_plain;f=scanlib.pm;h=50a695102301cc91917d04101824ad94083b1645;hp=9bd84581e59d1292a3dfd49662a91e2362ebfa83;hb=5e9977948a37d9ff7ae73479a72b2b2e01c19b16;hpb=ba928af3f693d3d4fc348c4d1395967fbddd04b1 diff --git a/scanlib.pm b/scanlib.pm index 9bd8458..50a6951 100644 --- a/scanlib.pm +++ b/scanlib.pm @@ -83,6 +83,7 @@ sub readpackages() { next unless m/^Package:\s/; # We're only interested in the packagenames s/^Package:\s*//; # Strip the fieldname $section{$_} = "$archive/$sect"; + print "$root/$sect/binary-$arch/Packages.gz\n" if ($_ eq 'xtla'); } close(P); } @@ -326,6 +327,12 @@ sub check_worry_stable { return ($bi->{'stable'} && !$bi->{'etch-ignore'}); } +sub check_worry_unstable { + my ($bi) = @_; + + return ($bi->{'unstable'}); +} + sub get_taginfo { my $bi = shift;