blob: 751d5bd11e61dd4ee238392311559f74fd64ef98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/bin/bash
source "$(dirname "$(readlink -e "$0")")/config"
#dryrun="--dry-run"
# Sync our repos
#for parabola_repo in ${OURREPOS[@]} ${USERREPOS[@]} ${PROJREPOS[@]}; do
for parabola_repo in ${USERREPOS[@]} ${PROJREPOS[@]}; do
echo ":: Syncing ${parabola_repo}/ => ${FTP_BASE}/${parabola_repo}/"
rsync -avL ${dryrun} --progress -e ssh parabolavnx@69.163.153.218:repo/${parabola_repo}/ ${FTP_BASE}/${parabola_repo}/
done
# Sync our arches
#for parabola_arch in ${OURARCHES[@]}; do
#for arch_repo in ${ARCHREPOS[@]}; do
#echo ":: Syncing ${arch_repo}/os/${parabola_arch}/ => ${FTP_BASE}/${arch_repo}/os/${parabola_arch}/"
# rsync -avL ${dryrun} --progress -e ssh parabolavnx@69.163.153.218:repo/${arch_repo}/os/${parabola_arch}/ ${FTP_BASE}/${arch_repo}/os/${parabola_arch}/
#done
#done
#
# Sync other dirs last
#for other in screenshots isos; do
for other in other; do
echo ":: Syncing ${other}/ => ${FTP_BASE}/${other}/"
rsync -avL ${dryrun} --progress -e ssh parabolavnx@69.163.153.218:repo/${other}/ ${FTP_BASE}/${other}
done
exit $?
|