diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-02-21 11:34:57 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-02-21 11:34:57 +0100 |
commit | 5a88adc44003e7d22110d77b93cedff9c0391da8 (patch) | |
tree | baa4fb146fa85dc33b240820bc9c4a2dd99215d7 /bin | |
parent | a57ddf9087c5cb4b4a3e81ec576211c9c46ff05c (diff) | |
download | jenkins.debian.net-5a88adc44003e7d22110d77b93cedff9c0391da8.tar.xz |
reproducible: warn but not fail if grml's latest dpkg-selection is 404
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_create_meta_pkg_sets.sh | 8 |
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 |