diff --git a/debian/changelog b/debian/changelog index a2111155..ca6f6087 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Sun, 16 Dec 2001 04:34:03 +0100 diff --git a/tools/scanpackages b/tools/scanpackages index 70e5bc7b..cacc75a1 100755 --- a/tools/scanpackages +++ b/tools/scanpackages @@ -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