summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Jaspert <joerg@debian.org>2009-12-28 16:52:57 +0100
committerJoerg Jaspert <joerg@debian.org>2009-12-28 16:52:57 +0100
commit69fd1eda70605488c21f5773a0ba62772e14650d (patch)
treecc37510779223c85962a457aad5c750b87e9a12e
parent2d67be7b5cefd83acd188f640d7b3a582f8b45ea (diff)
common
also look at mhop hosts in get2stage Signed-off-by: Joerg Jaspert <joerg@debian.org>
-rw-r--r--etc/common2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/common b/etc/common
index 465ab73..daa228d 100644
--- a/etc/common
+++ b/etc/common
@@ -181,7 +181,7 @@ hook () {
# Return the list of 2-stage mirrors.
get2stage() {
- egrep '^staged' "${MIRRORS}" | {
+ egrep '^(staged|mhop)' "${MIRRORS}" | {
while read MTYPE MLNAME MHOSTNAME MUSER MPROTO MKEYFILE; do
PUSHLOCKS="${LOCKDIR}/${MLNAME}.stage1 ${PUSHLOCKS}"
done