summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorSalvatore Bonaccorso <carnil@debian.org>2023-09-04 21:30:46 +0200
committerSalvatore Bonaccorso <carnil@debian.org>2023-09-04 21:33:10 +0200
commit034fb469e1325620b4e8af394d29c29bec741193 (patch)
tree2b53147f77b081af332ed465a6e2df0b565cd572 /bin
parentbcdbf5a90e520803849e9e66453ae71f73e3c93c (diff)
bin/add-dsa-needed.sh: Package names can start with alphanumeric characters
Expand the expression to include lines starting with [0-9a-z] characters, as package names can start with alphanumeric characers. Withouth this '7zip' was not found trough fetching https://security-tracker.debian.org/tracker/status/release/stable . Reported-by: Moritz Muehlenhoff <jmm@debian.org> Link: https://www.debian.org/doc/debian-policy/ch-controlfields.html#source Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/add-dsa-needed.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/add-dsa-needed.sh b/bin/add-dsa-needed.sh
index 3a79b36a31..d8f5c3f37a 100755
--- a/bin/add-dsa-needed.sh
+++ b/bin/add-dsa-needed.sh
@@ -83,7 +83,7 @@ for release in $releases; do
esac
else
case "$line" in
- [a-z]*)
+ [0-9a-z]*)
# a package
pkg="$(echo "$line" | awk -F' ' '{ print $1 }')"
if ! grep -qE "^$pkg(/$release)?( |\$)" data/dsa-needed.txt; then

© 2014-2024 Faster IT GmbH | imprint | privacy policy