[PATCH] sync to ALTDEST for alternative arches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Dennis Gilmore <ausil@xxxxxxxxxxxxxxxxx>

Signed-off-by: Dennis Gilmore <ausil@xxxxxxxxxxxxxxxxx>
---
 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 201c2e2..aff2a31 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 } ')
-- 
1.8.3.1
_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux