Make tools/start_new_disc also cleanup SHA512 checksums.
This commit is contained in:
parent
966016c495
commit
d21568c454
|
@ -17,7 +17,10 @@ debian-cd (3.1.32) UNRELEASED; urgency=medium
|
||||||
[ Steev Klimaszewski ]
|
[ Steev Klimaszewski ]
|
||||||
* Fix sed delimiters in various scripts
|
* Fix sed delimiters in various scripts
|
||||||
|
|
||||||
-- Steve McIntyre <93sam@debian.org> sat, 12 Dec 2020 03:12:36 +0100
|
[ Samuel Thibault ]
|
||||||
|
* Make tools/start_new_disc also cleanup SHA512 checksums.
|
||||||
|
|
||||||
|
-- Steve McIntyre <93sam@debian.org> Sat, 12 Dec 2020 03:12:36 +0100
|
||||||
|
|
||||||
debian-cd (3.1.31) unstable; urgency=medium
|
debian-cd (3.1.31) unstable; urgency=medium
|
||||||
|
|
||||||
|
|
|
@ -363,7 +363,7 @@ if [ -e "$MIRROR/dists/$CODENAME/Release" ] ; then
|
||||||
sed -e "s/^Architectures: .*$/Architectures: $ARCHES/" \
|
sed -e "s/^Architectures: .*$/Architectures: $ARCHES/" \
|
||||||
$MIRROR/dists/$CODENAME/Release | \
|
$MIRROR/dists/$CODENAME/Release | \
|
||||||
sed -e "s|^Components: .*$|Components: $SECTIONS|" | \
|
sed -e "s|^Components: .*$|Components: $SECTIONS|" | \
|
||||||
perl -ne 'if (/^(MD5Sum|SHA1|SHA256):/i) { $f=1; next }
|
perl -ne 'if (/^(MD5Sum|SHA1|SHA256|SHA512):/i) { $f=1; next }
|
||||||
if ($f) {
|
if ($f) {
|
||||||
unless (/^ /) { print; $f=0 }
|
unless (/^ /) { print; $f=0 }
|
||||||
} else { print }' > dists/$CODENAME/Release
|
} else { print }' > dists/$CODENAME/Release
|
||||||
|
@ -390,7 +390,7 @@ if [ "$BACKPORTS"x != ""x ]; then
|
||||||
sed -e "s/^Architectures: .*$/Architectures: $ARCHES/" \
|
sed -e "s/^Architectures: .*$/Architectures: $ARCHES/" \
|
||||||
$MIRROR/dists/$CODENAME-backports/Release | \
|
$MIRROR/dists/$CODENAME-backports/Release | \
|
||||||
sed -e "s|^Components: .*$|Components: $SECTIONS|" | \
|
sed -e "s|^Components: .*$|Components: $SECTIONS|" | \
|
||||||
perl -ne 'if (/^(MD5Sum|SHA1|SHA256):/i) { $f=1; next }
|
perl -ne 'if (/^(MD5Sum|SHA1|SHA256|SHA512):/i) { $f=1; next }
|
||||||
if ($f) {
|
if ($f) {
|
||||||
unless (/^ /) { print; $f=0 }
|
unless (/^ /) { print; $f=0 }
|
||||||
} else { print }' > dists/$CODENAME-backports/Release
|
} else { print }' > dists/$CODENAME-backports/Release
|
||||||
|
|
Loading…
Reference in New Issue