[scripts] iso_build.sh: automatically regenerate images listing on every ISO push, fixes bug 3314

This commit is contained in:
Fabio Erculiani 2012-05-25 20:22:57 +02:00
parent 27d8d5f23d
commit 173445cf69

View File

@ -120,8 +120,12 @@ move_to_pkg_sabayon_org() {
if [ -n "${DO_PUSH}" ] || [ -f /sabayon/DO_PUSH ]; then if [ -n "${DO_PUSH}" ] || [ -f /sabayon/DO_PUSH ]; then
rm -f /sabayon/DO_PUSH rm -f /sabayon/DO_PUSH
rsync -av --partial --delete-excluded /sabayon/iso_rsync/*DAILY* \ rsync -av --partial --delete-excluded /sabayon/iso_rsync/*DAILY* \
entropy@pkg.sabayon.org:/sabayon/rsync/rsync.sabayon.org/iso/daily entropy@pkg.sabayon.org:/sabayon/rsync/rsync.sabayon.org/iso/daily || return 1
rsync -av --partial --delete-excluded /sabayon/scripts/gen_html \
entropy@pkg.sabayon.org:/sabayon/rsync/iso_html_generator || return 1
ssh entropy@pkg.sabayon.org /sabayon/rsync/iso_html_generator/gen_html/gen.sh
fi fi
return 0
} }
build_sabayon() { build_sabayon() {