bodhi: update fedora-epel-push to sync based on the koji tag name
This commit is contained in:
parent
576d285b16
commit
415ccdc4f3
1 changed files with 4 additions and 4 deletions
|
@ -8,9 +8,9 @@ OPTIONS="-rlptDvHh --stats --delay-updates $RSYNC_OPTS"
|
||||||
for rel in 5 6; do
|
for rel in 5 6; do
|
||||||
|
|
||||||
OUTPUT1=$(rsync $OPTIONS --exclude "repodata/*" --exclude "headers/*" \
|
OUTPUT1=$(rsync $OPTIONS --exclude "repodata/*" --exclude "headers/*" \
|
||||||
$SOURCE/el$rel-epel/ $DEST/$rel/)
|
$SOURCE/dist-$relE-epel/ $DEST/$rel/)
|
||||||
OUTPUT2=$(rsync $OPTIONS --delete --delete-delay \
|
OUTPUT2=$(rsync $OPTIONS --delete --delete-delay \
|
||||||
$SOURCE/el$rel-epel/ $DEST/$rel/)
|
$SOURCE/dist-$relE-epel/ $DEST/$rel/)
|
||||||
|
|
||||||
# Grep out some signals from the stats
|
# Grep out some signals from the stats
|
||||||
bytes=$(echo "$OUTPUT1" | grep "Literal data" | awk ' { print $3 } ')
|
bytes=$(echo "$OUTPUT1" | grep "Literal data" | awk ' { print $3 } ')
|
||||||
|
@ -26,9 +26,9 @@ for rel in 5 6; do
|
||||||
fi
|
fi
|
||||||
|
|
||||||
OUTPUT1=$(rsync $OPTIONS --exclude "repodata/*" --exclude "headers/*" \
|
OUTPUT1=$(rsync $OPTIONS --exclude "repodata/*" --exclude "headers/*" \
|
||||||
$SOURCE/el$rel-epel-testing/ $DEST/testing/$rel/)
|
$SOURCE/dist-$relE-epel-testing/ $DEST/testing/$rel/)
|
||||||
OUTPUT2=$(rsync $OPTIONS --delete --delete-delay \
|
OUTPUT2=$(rsync $OPTIONS --delete --delete-delay \
|
||||||
$SOURCE/el$rel-epel-testing/ $DEST/testing/$rel/)
|
$SOURCE/dist-$relE-epel-testing/ $DEST/testing/$rel/)
|
||||||
|
|
||||||
# Grep out some signals from the stats
|
# Grep out some signals from the stats
|
||||||
bytes=$(echo "$OUTPUT1" | grep "Literal data" | awk ' { print $3 } ')
|
bytes=$(echo "$OUTPUT1" | grep "Literal data" | awk ' { print $3 } ')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue