From: Alejandro R. SedeƱo Date: Thu, 3 Mar 2022 22:23:37 +0000 (-0500) Subject: fedora and fedora-epel: abusing DESTD to limit scope and hopefully appease rsync X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=e9b0a0bcb10fe7bdf976f92cb6dbd1b88ea40c69;p=sipb-mirrors.git fedora and fedora-epel: abusing DESTD to limit scope and hopefully appease rsync --- diff --git a/fetch-scripts/fedora b/fetch-scripts/fedora index 0c9ec40..e161eba 100644 --- a/fetch-scripts/fedora +++ b/fetch-scripts/fedora @@ -9,8 +9,14 @@ PREBITFLIP=1 # The remote module we want to sync from fedora-buffet[0]. # Some call it fedora, others call it fedora-enchilada. MODULE=fedora -# The local name for it. -MODULEDIR=fedora + +# Normally, quick-fedora-mirror is used to mirror multiple modules, +# and wants DESTD to point at the root. However, we're using it for +# single modules, and it seems to choke on the symlink farm. +# Setting DESTD to the module location and forcing telling qfm to +# put the module in `.`. + +DESTD="${MIRRORDIR}/fedora" TIMEFILE="${MIRRORDIR}/.locks/fedora.timefile" QFM="./tools/fedora/quick-fedora-mirror" @@ -33,7 +39,7 @@ CONF="${TMPDIR}/qfm.conf" cat >"${CONF}" <"${CONF}" <