Gah. Comments in shell scripts.
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
e871157429
commit
b48e01186d
1 changed files with 2 additions and 1 deletions
|
@ -21,11 +21,12 @@ ${MM_ROOT}/bin/generate-mirrorlist-cache -o ${CACHEDIR}/mirrorlist_cache.proto
|
|||
# Update the files on the proxies
|
||||
{% if env == 'production' %}
|
||||
for server in ${MIRRORLIST_PROXY}; do
|
||||
# *.txt files are netblocks
|
||||
rsync -az --delete-delay --delay-updates --delete \
|
||||
-e "ssh -i ${MM_SSH_KEY}" \
|
||||
${MM_ROOT}/src/utility/country_continent.csv \
|
||||
${CACHEDIR}/mirrorlist_cache.proto \
|
||||
${CACHEDIR}/*.txt \ # Netblocks
|
||||
${CACHEDIR}/*.txt \
|
||||
${MM_USER}@${server}:/srv/mirrorlist/data/mirrorlist1/ &
|
||||
done
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue