source: soft/build_system/build_system/upload/robot/trunk/community-push-rsync @ 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: 940 bytes
Line 
1#!/bin/sh
2
3LOCK_ken=/mnt/BIG/distrib/.update_from_ken
4LOCK=/mnt/BIG/distrib/.update_in_progress
5# check lock created by the admin script to be sure
6# to have a clean tree.
7if [ -e "$LOCK_ken" ]; then
8        echo "Update from ken running, exiting"
9        exit
10fi
11
12. $HOME/robot/robot-lock $LOCK
13
14CONFIG=$HOME/robot/community-push-rsync.cfg
15. $CONFIG
16
17
18RSYNC_RSH='ssh -xc arcfour -o Compression=no'
19rsync $RSYNC_OPTIONS -e "$RSYNC_RSH" --exclude testing --exclude isos /mnt/BIG/distrib/community/10.0 $RSYNC_HOST:mirror/Mandrakelinux/devel/
20#rsync $RSYNC_OPTIONS -e "$RSYNC_RSH" --exclude testing --exclude isos --exclude kde3.3 /mnt/BIG/distrib/community/10.1 $RSYNC_HOST:mirror/Mandrakelinux/devel/
21#rsync $RSYNC_OPTIONS -e "$RSYNC_RSH" /mnt/BIG/distrib/community/10.2 $RSYNC_HOST:mirror/Mandrakelinux/devel/
22rsync $RSYNC_OPTIONS -e "$RSYNC_RSH" /mnt/BIG/distrib/community/2006.0 $RSYNC_HOST:mirror/Mandrakelinux/devel/
23
24$HOME/robot/push-rsync $CONFIG
Note: See TracBrowser for help on using the repository browser.