diff options
| author | onefang | 2025-12-03 04:48:18 +0100 |
|---|---|---|
| committer | onefang | 2025-12-03 04:48:18 +0100 |
| commit | f5cc6a19142b5f692aac751a2e4fe04e72729add (patch) | |
| tree | 235f915a42ae5b1f553bcb0b6521ba4ed807f8c0 | |
| parent | More docs. (diff) | |
| download | devuan_package_mirror_sync-f5cc6a19142b5f692aac751a2e4fe04e72729add.zip devuan_package_mirror_sync-f5cc6a19142b5f692aac751a2e4fe04e72729add.tar.gz devuan_package_mirror_sync-f5cc6a19142b5f692aac751a2e4fe04e72729add.tar.bz2 devuan_package_mirror_sync-f5cc6a19142b5f692aac751a2e4fe04e72729add.tar.xz | |
Tweak docs.
| -rwxr-xr-x | devuan_package_mirror_sync.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/devuan_package_mirror_sync.sh b/devuan_package_mirror_sync.sh index 2e88782..44cdfd7 100755 --- a/devuan_package_mirror_sync.sh +++ b/devuan_package_mirror_sync.sh | |||
| @@ -26,6 +26,7 @@ | |||
| 26 | # done simply, and I'm trying to keep this simple. Reporting which Debian packages | 26 | # done simply, and I'm trying to keep this simple. Reporting which Debian packages |
| 27 | # changed is too complex, and I don't need it. | 27 | # changed is too complex, and I don't need it. |
| 28 | 28 | ||
| 29 | |||
| 29 | # Stop on errors, and don't expand * | 30 | # Stop on errors, and don't expand * |
| 30 | set -ef | 31 | set -ef |
| 31 | 32 | ||
| @@ -91,6 +92,7 @@ OPTIONS="--delay-updates -rptSzhhv --no-motd --chown mirrors:www-data -M- | |||
| 91 | mkdir -p ${MIRROR_PATH} | 92 | mkdir -p ${MIRROR_PATH} |
| 92 | 93 | ||
| 93 | 94 | ||
| 95 | # The rsync calls. | ||
| 94 | # The --exclude "/devuan-cd/" is so we don't wipe out the ISO mirror. | 96 | # The --exclude "/devuan-cd/" is so we don't wipe out the ISO mirror. |
| 95 | start_time=$(date +%s%3N) | 97 | start_time=$(date +%s%3N) |
| 96 | rsltM=$( ${BEHAVE} rsync ${OPTIONS} vesta@pkgmaster.devuan.org:~/devuan/ ${MIRROR_PATH} --exclude "/devuan-cd/" \ | 98 | rsltM=$( ${BEHAVE} rsync ${OPTIONS} vesta@pkgmaster.devuan.org:~/devuan/ ${MIRROR_PATH} --exclude "/devuan-cd/" \ |
