From 96d3c777640386883c4d8e320a6969878d240e00 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 9 Mar 2017 13:49:49 +0000 Subject: [PATCH] sync to ALTDEST for alternative arches Signed-off-by: Dennis Gilmore --- roles/bodhi2/backend/files/fedora-updates-push | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/roles/bodhi2/backend/files/fedora-updates-push b/roles/bodhi2/backend/files/fedora-updates-push index 201c2e22b8..aff2a31e8e 100755 --- a/roles/bodhi2/backend/files/fedora-updates-push +++ b/roles/bodhi2/backend/files/fedora-updates-push @@ -2,6 +2,7 @@ SOURCE=/mnt/koji/mash/updates DEST=/pub/fedora/linux/updates/ +ALTDEST=/pub/fedora-secondary/updates/ ATOMICSOURCE=/mnt/koji/mash/atomic/ ATOMICDEST=/mnt/koji/atomic/ @@ -100,9 +101,9 @@ done for rel in 26; do OUTPUT1=$(rsync $OPTIONS --exclude "repodata/*" $ALT_EXCLUDES \ - $SOURCE/f$rel-updates/ $DEST/$rel/ --link-dest $DEST/testing/$rel/) + $SOURCE/f$rel-updates/ $ALTDEST/$rel/ --link-dest $ALTDEST/testing/$rel/) OUTPUT2=$(rsync $OPTIONS --delete --delete-delay $ALT_EXCLUDES --exclude=Live --exclude=Images \ - $SOURCE/f$rel-updates/ $DEST/$rel/) + $SOURCE/f$rel-updates/ $ALTDEST/$rel/) # Grep out some signals from the stats bytes=$(echo "$OUTPUT1" | grep "Literal data" | awk ' { print $3 } ') @@ -121,9 +122,9 @@ done for rel in 26; do OUTPUT1=$(rsync $OPTIONS --exclude "repodata/*" $ALT_EXCLUDES \ - $SOURCE/f$rel-updates-testing/ $DEST/testing/$rel/) + $SOURCE/f$rel-updates-testing/ $ALTDEST/testing/$rel/) OUTPUT2=$(rsync $OPTIONS --delete --delete-delay $ALT_EXCLUDES --exclude=Live --exclude=Images \ - $SOURCE/f$rel-updates-testing/ $DEST/testing/$rel/) + $SOURCE/f$rel-updates-testing/ $ALTDEST/testing/$rel/) # Grep out some signals from the stats bytes=$(echo "$OUTPUT1" | grep "Literal data" | awk ' { print $3 } ')