diff options
author | Joerg Jaspert <joerg@debian.org> | 2009-12-30 21:25:16 +0100 |
---|---|---|
committer | Joerg Jaspert <joerg@debian.org> | 2009-12-30 21:25:16 +0100 |
commit | 24de4a2f1d314be85bb3eb14c15bd0bf8de015ae (patch) | |
tree | e2cadd8933b61e828636233883fb8013735f11aa /etc/common | |
parent | 7b011505f809740d5dad18f056723d2d9166bdc9 (diff) |
common
treat mhop mirror entries same as staged in this elif
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'etc/common')
-rw-r--r-- | etc/common | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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" |