diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-01-10 05:09:44 -0500 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-01-10 05:09:44 -0500 |
| commit | ce17faeb7bfe0844a6d7ab8e4d046cc674cf6f95 (patch) | |
| tree | 507b0afa06119092c6093b9973153a81c2dadf0a /bin/sbodb.pl | |
| parent | bda2441bed5f31f32b3a2abde659d15562bea0bf (diff) | |
| download | limnoria.slackfacts.plugins-ce17faeb7bfe0844a6d7ab8e4d046cc674cf6f95.tar.gz | |
Fix broken updates, use 15.0 tree.
Diffstat (limited to 'bin/sbodb.pl')
| -rwxr-xr-x | bin/sbodb.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/sbodb.pl b/bin/sbodb.pl index 06c8215..fc2d3ec 100755 --- a/bin/sbodb.pl +++ b/bin/sbodb.pl @@ -160,6 +160,7 @@ EOF open $tagstxt, "<" . $sbopath . "/TAGS.txt" or die $!; while(<$tagstxt>) { + my %seen; my ($build, $t, @tags); chomp; next if /: No tags found for/; @@ -167,6 +168,7 @@ while(<$tagstxt>) { @tags = split /,/, $t; for(@tags) { next if /^\s*$/; + next if $seen{$_}++; s/'/''/g; print <<EOF; insert into tags values($buildids{$build}, '$_'); |
