This commit is contained in:
Marc Beninca 2024-09-28 21:14:04 +02:00
parent 6f0f8baf4d
commit fe85a9b527
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -14,12 +14,12 @@ LOCAL_ROOT="${ROOT}/root/deb/debian/${DEBIAN_ROOT}"
REMOTE_ROOT="https://deb.debian.org/${DEBIAN_ROOT}"
for dist in "${DISTS[@]}" ; do
for section in "${SECTIONS[@]}" ; do
cd "${LOCAL_ROOT}/${dist}/${section}"
rm --force "${MISSING}"
wget "${REMOTE_ROOT}/${dist}/${section}/${MISSING}" &> /dev/null
if [ ${?} -ne 0 ] ; then
echo "${ERROR}"
fi
done
for section in "${SECTIONS[@]}" ; do
cd "${LOCAL_ROOT}/${dist}/${section}"
rm --force "${MISSING}"
wget "${REMOTE_ROOT}/${dist}/${section}/${MISSING}" &> /dev/null
if [ ${?} -ne 0 ] ; then
echo "${ERROR}"
fi
done
done