* Complains for missing Release files.

* Prepare for release.
This commit is contained in:
Raphaël Hertzog 2001-12-29 18:52:24 +00:00
parent 0a5958c3c3
commit 9db9cb02c7
2 changed files with 12 additions and 4 deletions

4
debian/changelog vendored
View File

@ -1,10 +1,10 @@
debian-cd (2.2.11) unstable; urgency=low
debian-cd (2.2.11) unstable; urgency=medium
* UNRELEASED.
* Changed "==" test by "=" test that works with ash also. Closes: #125727
* Corrected the rules files to remove the .#* files of CVS merges.
Closes: #125728
* Corrected the documentation. Closes: #125729
* Complains about missing Release files. Closes: #126076
-- Raphael Hertzog <hertzog@debian.org> Sun, 16 Dec 2001 04:34:03 +0100

View File

@ -39,8 +39,12 @@ if [ -e "$MIRROR/dists/$CODENAME/Release" ]; then
if ($f) {
unless (/^ /) { print; $f=0 }
} else { print }' > dists/$CODENAME/Release
else
echo "ERROR: Release file ($MIRROR/dists/$CODENAME/Release) is missing !"
exit 1
fi
if [ -n "$NONUS" -a -e "$NONUS/dists/$CODENAME/non-US/Release" ]; then
if [ -n "$NONUS" ]; then
if [ -e "$NONUS/dists/$CODENAME/non-US/Release" ]; then
# Strip the MD5Sum and SHA1 fields
# Update some other information as well
sed -e "/^ /d" -e "s/^Architectures: .*$/Architectures: $ARCH/" \
@ -50,8 +54,12 @@ if [ -n "$NONUS" -a -e "$NONUS/dists/$CODENAME/non-US/Release" ]; then
if ($f) {
unless (/^ /) { print; $f=0 }
} else { print }' > dists/$CODENAME/non-US/Release
else
echo -n "ERROR: Release file ($NONUS/dists/$CODENAME/non-US/Release)"
echo " is missing !"
exit 1
fi
fi
# Copying release files
for SECT in $SECTIONS; do
# Install the release files