Failing checks have no consequences yet, but they are at least logged.
debports_ftpsite=http://ftp.debian-ports.org/debian
ddtp_ftpsite=http://ddtp.debian.net/debian
-wget_cmd="wget --no-verbose --tries=2 --timeout=60"
+wget_cmd="wget --no-verbose --tries=2 --timeout=60"
+check_release_cmd="perl -I${libdir} ${bindir}/check-release --verbose --ignoremissing --keyring ${configdir}/trusted.gpg"
root=""
(cd us/${dist}/${part}/source &&
$wget_cmd -N ${ftpsite}/dists/${dist}/${part}/source/Sources.gz)
done
+
+ $check_release_cmd $archivedir/us/${dist}/Release
done
else
echo using local mirror
rsync -t ${localdir}/dists/${dist}/${part}/source/Sources.gz \
us/${dist}/${part}/source/Sources.gz
done
+
+ $check_release_cmd $archivedir/us/${dist}/Release
done
fi
(cd security/${dist}/${part}/source &&
$wget_cmd -N ${security_ftpsite}/dists/${dist}/updates/${part}/source/Sources.gz)
done
+
+ $check_release_cmd $archivedir/security/${dist}/Release
done
echo retrieve Contents $dist/$arch
(cd amd64/${dist} &&
$wget_cmd -N ${amd64_ftpsite}/dists/${dist}/Contents-${arch}.gz)
+
+ $check_release_cmd $archivedir/amd64/${dist}/Release
done
(cd backports/${dist}-backports/${part}/source &&
$wget_cmd -N ${backports_ftpsite}/dists/${dist}-backports/${part}/source/Sources.gz)
done
+
+ $check_release_cmd $archivedir/backports/${dist}-backports/Release
done
(cd debports/${dist} &&
$wget_cmd -N ${debports_ftpsite}/dists/${dist}/Contents-${arch}.gz)
done
+
+ $check_release_cmd $archivedir/debports/${dist}/Release
done
$wget_cmd -N ${ftpsite}/dists/${dist}/${part}/binary-${arch}/Packages.gz)
done
done
+
+ $check_release_cmd $archivedir/us/${dist}/Release
done
else
echo using local mirror
us/${dist}/${part}/binary-${arch}/Packages.gz
done
done
+
+ $check_release_cmd $archivedir/us/${dist}/Release
done
fi
(cd us/${dist}-${arch}/${part}/source &&
$wget_cmd -N ${ftpsite}/dists/${dist}-${arch}/${part}/source/Sources.gz)
done
+
+ $check_release_cmd $archivedir/us/${dist}-${arch}/Release
done
else
echo using local mirror
rsync -t ${localdir}/dists/${dist}-${arch}/${part}/source/Sources.gz \
us/${dist}-${arch}/${part}/source/Sources.gz
done
+ $check_release_cmd $archivedir/us/${dist}-${arch}/Release
done
fi
(cd volatile/${dist}-volatile/$part/source &&
$wget_cmd -N ${volatile_ftpsite}/dists/${dist}/volatile/${part}/source/Sources.gz)
done
+
+ $check_release_cmd $archivedir/volatile/${dist}-volatile/Release
done