Last change
on this file since 1217 was 1210, checked in by joergs, on Apr 12, 2016 at 4:58:03 PM |
make mirror script more flexible.
Use configuration files and helper scripts.
|
-
Property svn:executable
set to
*
|
File size:
537 bytes
|
Rev | Line | |
---|
[1210] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | SOURCE_OPENSUSE="ftp5.gwdg.de::pub/opensuse/"
|
---|
| 4 |
|
---|
| 5 | REPOS="distribution/13.1/repo update/13.1 update/13.1-non-oss
|
---|
| 6 | "
|
---|
| 7 |
|
---|
| 8 | RSYNC_EXTRA_OPTS="--exclude armv6hl/ --exclude ia64/ --exclude ppc/ --exclude ppc64/"
|
---|
| 9 |
|
---|
| 10 | DEST="/var/mirror/download.opensuse.org"
|
---|
| 11 |
|
---|
| 12 | # Script to run after repositories have been synced.
|
---|
| 13 | # Parameter:
|
---|
| 14 | # local path of repository
|
---|
| 15 | POST_SCRIPT="/usr/bin/mirror-adapt-repository.sh"
|
---|
| 16 |
|
---|
| 17 | # Script that is called after mirroring.
|
---|
| 18 | # Parameter:
|
---|
| 19 | # mirror-urls
|
---|
| 20 | # successful repositories
|
---|
| 21 | # failed repositories
|
---|
| 22 | REPORT_SCRIPT=
|
---|
Note:
See
TracBrowser
for help on using the repository browser.