source: soft/build_system/build_system/upload/robot/trunk/sync_noarch_2007 @ 1

Last change on this file since 1 was 1, checked in by fasma, 13 years ago

Initial Import from Mandriva's soft revision 224062 and package revision 45733

File size: 770 bytes
Line 
1#!/bin/sh
2
3arches="x86_64"
4media="contrib main non-free"
5sections="release testing backports"
6cooker=/mnt/BIG/dis/2007.0/
7
8for arch in $arches
9do
10       for medium in $media
11       do
12               for section in $sections
13               do
14               echo Syncing $arch/$medium/$section
15               if [[ -e $cooker/i586/media/$medium/$section ]]; then
16               rsync   -aq "$@" \
17                       --delete \
18                       --delete-after \
19                       --include "*.noarch.rpm" \
20                       --exclude "*" \
21                       --link-dest=$cooker/i586/media/$medium/$section/ \
22                       $cooker/i586/media/$medium/$section/ \
23                       $cooker/$arch/media/$medium/$section/
24               fi
25               done
26       done
27done
28
Note: See TracBrowser for help on using the repository browser.