Last change
on this file since 1220 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:
519 bytes
|
Rev | Line | |
---|
[1210] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | #export http_proxy=http://proxy:3128
|
---|
| 4 | #export ftp_proxy=http://proxy:3128
|
---|
| 5 |
|
---|
| 6 | PROJECTS="
|
---|
| 7 | http://download.videolan.org/pub/vlc/SuSE/13.1/
|
---|
| 8 | http://download.nvidia.com/opensuse/13.1/
|
---|
| 9 | "
|
---|
| 10 |
|
---|
| 11 | # destination directory
|
---|
| 12 | DEST="/var/mirror/"
|
---|
| 13 |
|
---|
| 14 | # Script to run after repositories have been synced.
|
---|
| 15 | # Parameter:
|
---|
| 16 | # local path of repository
|
---|
| 17 | POST_SCRIPT="/usr/bin/mirror-adapt-repository.sh"
|
---|
| 18 |
|
---|
| 19 | # Script that is called after mirroring.
|
---|
| 20 | # Parameter:
|
---|
| 21 | # mirror-urls
|
---|
| 22 | # successful repositories
|
---|
| 23 | # failed repositories
|
---|
| 24 | REPORT_SCRIPT=
|
---|
Note:
See
TracBrowser
for help on using the repository browser.