Merge "Cleanup fedora mirroring"
This commit is contained in:
commit
c699683b9f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user