Merge "Remove Fedora 29 mirroring"
This commit is contained in:
commit
316efe74b1
@ -43,11 +43,10 @@ K5START="k5start -t -f /etc/fedora.keytab service/fedora-mirror -- ${TIMEOUT}"
|
||||
echo_ts "----- START FEDORA MIRROR RSYNC RUN -----"
|
||||
|
||||
# Purge old releases
|
||||
# NOTE(dpawlik) Add releases/29 when all jobs are updated
|
||||
echo_ts "Purging old mirrors"
|
||||
$K5START rm -rf $BASE/releases/28 $BASE/updates/28
|
||||
$K5START rm -rf $BASE/releases/29 $BASE/updates/29
|
||||
|
||||
for REPO in releases/29 releases/30 releases/31; do
|
||||
for REPO in releases/30 releases/31; do
|
||||
if ! [ -f $BASE/$REPO ]; then
|
||||
$K5START mkdir -p $BASE/$REPO
|
||||
fi
|
||||
@ -72,7 +71,7 @@ for REPO in releases/29 releases/30 releases/31; do
|
||||
echo_ts "... done"
|
||||
done
|
||||
|
||||
for REPO in updates/29 updates/30 updates/31; do
|
||||
for REPO in updates/30 updates/31; do
|
||||
if ! [ -f $BASE/$REPO ]; then
|
||||
$K5START mkdir -p $BASE/$REPO
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user