aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2026-08-04 11:38:44 -0400
committerSam James <sam@gentoo.org>2026-08-04 23:04:04 +0100
commite52c39eb9873566221b6d8396439d826dce1c4a7 (patch)
tree3cc469d5c5a281fc8dfb6bddf2ed079be5c3621f
parentmastermirror-staging.sh: crank up wget timeout to 15s (diff)
downloadmastermirror-scripts-master.tar.gz
mastermirror-scripts-master.tar.bz2
mastermirror-scripts-master.zip
sync-distfiles.sh: pass --verify-existing-digest to emirrordistHEAD20260804T220416Zmaster
This should properly detect distfile content changes where the file name and size are not modified. This may commonly happen when upstream updates a .sig file. Closes: https://bugs.gentoo.org/965209 Signed-off-by: Mike Gilbert <floppym@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
-rwxr-xr-xsync-distfiles.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/sync-distfiles.sh b/sync-distfiles.sh
index 0746365..ab8233b 100755
--- a/sync-distfiles.sh
+++ b/sync-distfiles.sh
@@ -54,6 +54,7 @@ DELAY=1814400
--distfiles-local=${DATADIR}/distfiles-local \
--symlinks \
--layout-conf=/usr/local/bin/mastermirror/layout.conf.new \
+ --verify-existing-digest \
--mirror
INDEXNAME=.INDEX.$(date -u +%Y%m%d%H%M%S).txt