aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoronefang2025-12-03 04:48:18 +0100
committeronefang2025-12-03 04:48:18 +0100
commitf5cc6a19142b5f692aac751a2e4fe04e72729add (patch)
tree235f915a42ae5b1f553bcb0b6521ba4ed807f8c0
parentMore docs. (diff)
downloaddevuan_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-xdevuan_package_mirror_sync.sh2
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 *
30set -ef 31set -ef
31 32
@@ -91,6 +92,7 @@ OPTIONS="--delay-updates -rptSzhhv --no-motd --chown mirrors:www-data -M-
91mkdir -p ${MIRROR_PATH} 92mkdir -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.
95start_time=$(date +%s%3N) 97start_time=$(date +%s%3N)
96rsltM=$( ${BEHAVE} rsync ${OPTIONS} vesta@pkgmaster.devuan.org:~/devuan/ ${MIRROR_PATH} --exclude "/devuan-cd/" \ 98rsltM=$( ${BEHAVE} rsync ${OPTIONS} vesta@pkgmaster.devuan.org:~/devuan/ ${MIRROR_PATH} --exclude "/devuan-cd/" \