diff options
author | Salvatore Bonaccorso <carnil@debian.org> | 2020-06-20 10:48:11 +0200 |
---|---|---|
committer | Salvatore Bonaccorso <carnil@debian.org> | 2020-06-22 10:36:49 +0200 |
commit | f2a823c1ca72872a0d085b5400d8c803319222d9 (patch) | |
tree | b9bc59405064cae54bc7fb9e75f36c074d7c4fcf /bin | |
parent | cbe490ff5d82e8e7aace9a51baa90107ef0f1d67 (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>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/add-dsa-needed.sh | 4 |
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 |