summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJoerg Jaspert <joerg@debian.org>2009-12-30 21:25:16 +0100
committerJoerg Jaspert <joerg@debian.org>2009-12-30 21:25:16 +0100
commit24de4a2f1d314be85bb3eb14c15bd0bf8de015ae (patch)
treee2cadd8933b61e828636233883fb8013735f11aa /etc
parent7b011505f809740d5dad18f056723d2d9166bdc9 (diff)
common
treat mhop mirror entries same as staged in this elif Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'etc')
-rw-r--r--etc/common3
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/common b/etc/common
index a45483c..2f6af01 100644
--- a/etc/common
+++ b/etc/common
@@ -76,7 +76,6 @@ signal () {
date -u >> "${LOGDIR}/${MIRROR}.log"
PUSHARGS=""
-
# Archive is non-empty, so tell the downstreams
if [ -n "${PUSHARCHIVE}" ]; then
PUSHARGS="${PUSHARGS} sync:archive:${PUSHARCHIVE}"
@@ -95,7 +94,7 @@ signal () {
echo "Sending normal push" >> "${LOGDIR}/${MIRROR}.log"
PUSHARGS1="sync:all"
ssh $SSH_OPTIONS "${HOSTNAME}" "${PUSHARGS} ${PUSHARGS1}" >>"${LOGDIR}/${MIRROR}.log" 2>&1 &
- elif [ "xstagedx" = "x${PUSHTYPE}x" ]; then
+ elif [ "xstagedx" = "x${PUSHTYPE}x" ] || [ "xmhopx" = "x${PUSHTYPE}x" ]; then
# Want a staged push. Fine, lets do that. Not backgrounded. We care about the mirrors doings.
echo "Sending staged push" >> "${LOGDIR}/${MIRROR}.log"