Merge "Cleanup fedora mirroring"

This commit is contained in:
Zuul 2023-05-16 21:56:14 +00:00 committed by Gerrit Code Review
commit c699683b9f

View File

@ -38,9 +38,9 @@ echo_ts "----- START FEDORA MIRROR RSYNC RUN -----"
# Purge old releases
echo_ts "Purging old mirrors"
$K5START rm -rf $BASE/releases/35 $BASE/updates/35
$K5START rm -rf $BASE/releases/35 $BASE/updates/35 $BASE/releases/37 $BASE/updates/37 $BASE/development/rawhide
for REPO in releases/36 releases/37 development/rawhide; do
for REPO in releases/36; do
if ! [ -f $BASE/$REPO ]; then
$K5START mkdir -p $BASE/$REPO
fi
@ -72,7 +72,7 @@ for REPO in releases/36 releases/37 development/rawhide; do
echo_ts "... done"
done
for REPO in updates/36 updates/37; do
for REPO in updates/36; do
if ! [ -f $BASE/$REPO ]; then
$K5START mkdir -p $BASE/$REPO
fi