summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-02-21 11:34:57 +0100
committerHolger Levsen <holger@layer-acht.org>2015-02-21 11:34:57 +0100
commit5a88adc44003e7d22110d77b93cedff9c0391da8 (patch)
treebaa4fb146fa85dc33b240820bc9c4a2dd99215d7 /bin
parenta57ddf9087c5cb4b4a3e81ec576211c9c46ff05c (diff)
downloadjenkins.debian.net-5a88adc44003e7d22110d77b93cedff9c0391da8.tar.xz
reproducible: warn but not fail if grml's latest dpkg-selection is 404
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_create_meta_pkg_sets.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/reproducible_create_meta_pkg_sets.sh b/bin/reproducible_create_meta_pkg_sets.sh
index 233c509b..5cc66e8b 100755
--- a/bin/reproducible_create_meta_pkg_sets.sh
+++ b/bin/reproducible_create_meta_pkg_sets.sh
@@ -193,8 +193,12 @@ fi
# grml
if [ ! -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[11]}.pkgset) ] || [ ! -f $TPATH/${META_PKGSET[11]}.pkgset ] ; then
curl http://grml.org/files/grml64-full_latest/dpkg.selections | cut -f1 > $TMPFILE
- convert_into_source_packages_only
- update_if_similar ${META_PKGSET[11]}.pkgset
+ if ! grep '<title>404 Not Found</title>' $TMPFILE ; then
+ convert_into_source_packages_only
+ update_if_similar ${META_PKGSET[11]}.pkgset
+ else
+ echo "Warning: could not download grml's latest dpkg.selections file, skipping pkg set..."
+ fi
fi
# all build depends of grml