[Qa-jenkins-scm] [jenkins.debian.net] 04/10: reproducible Debian: deal with 404-code as plain text

Holger Levsen holger at layer-acht.org
Tue Nov 8 14:31:27 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 3380e4ae80971c6f67af3db141460450029559a1
Author: Holger Levsen <holger at layer-acht.org>
Date:   Tue Nov 8 14:47:49 2016 +0100

    reproducible Debian: deal with 404-code as plain text
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_create_meta_pkg_sets.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_create_meta_pkg_sets.sh b/bin/reproducible_create_meta_pkg_sets.sh
index d8ba5a5..c74148c 100755
--- a/bin/reproducible_create_meta_pkg_sets.sh
+++ b/bin/reproducible_create_meta_pkg_sets.sh
@@ -331,7 +331,7 @@ update_pkg_set_specific() {
 		URL="http://grml.org/files/grml64-full_latest/dpkg.selections"
 		echo "Downloading $URL now."
 		curl $URL | cut -f1 > $TMPFILE
-		if ! grep '<title>404 Not Found</title>' $TMPFILE ; then
+		if ! grep '404 Not Found' $TMPFILE ; then
 			echo "parsing $TMPFILE now..."
 			packages_list_to_deb822
 			convert_from_deb822_into_source_packages_only
@@ -348,7 +348,7 @@ update_pkg_set_specific() {
 		URL="https://nightly.tails.boum.org/build_Tails_ISO_devel/lastSuccessful/archive/latest.iso.build-manifest"
 		echo "Downloading $URL now."
 		curl $URL > $TMPFILE
-		if ! grep '<title>404 Not Found</title>' $TMPFILE ; then
+		if ! grep '404 Not Found' $TMPFILE ; then
 			echo "parsing $TMPFILE now..."
 			tails_build_manifest_to_deb824 "$TMPFILE" "$PACKAGES"
 			convert_from_deb824_into_source_packages_only

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list