summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSalvatore Bonaccorso <carnil@debian.org>2020-06-20 10:48:11 +0200
committerSalvatore Bonaccorso <carnil@debian.org>2020-06-22 10:36:49 +0200
commit6c43ac66d6bdcd696c9db6e6c37adc117e623a39 (patch)
tree201428efab69bc5593283a724c35f3a216997519
parentb19b43e35e0e1b2266c340f5d85edafd2ff0face (diff)
Use the new introduced pkgs_print() helper function
In the former code block we target packages which need an update in multiple supported release. The later block is iterating only over individual releases to add packages individually per release where needed. Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
-rwxr-xr-xbin/add-dsa-needed.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/add-dsa-needed.sh b/bin/add-dsa-needed.sh
index 1de14aec65..3a79b36a31 100755
--- a/bin/add-dsa-needed.sh
+++ b/bin/add-dsa-needed.sh
@@ -103,7 +103,7 @@ done
# These are added without /$release suffix
cat $tmpd/toadd-*.txt | sort | uniq -d |
while read pkg; do
- printf "%s\n--\n" "$pkg" >> $output
+ pkgs_print "$pkg" false false >> $output
sed -ri "/^$pkg\$/d" $tmpd/toadd-*.txt
done
@@ -111,6 +111,6 @@ done
# and that are added with /$release suffix
for release in $releases; do
while read pkg; do
- printf "%s/%s\n--\n" "$pkg" "$release" >> $output
+ pkgs_print "$pkg" "$include_oldstable" "$release" >> $output
done < $tmpd/toadd-$release.txt
done

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