2 # vim:set et ts=4 sw=4 ft=bash ai:
5 SUITES="lenny etch squeeze"
6 ARCHES="i386 amd64 powerpc"
8 . /org/wanna-build/triggers/common
10 exec >> /org/wanna-build/db/merge.$ARCHIVE.log 2>&1
12 if [ -f /org/wanna-build/NO-TRIGGERS ]
14 echo Trigger for $ARCHIVE skipped due to NO-TRIGGERS, aborting. >&2
18 echo "`date`: Running trigger for $ARCHIVE ..."
22 trap cleanup ERR TERM HUP INT QUIT
27 # Fetch the most recent Packages and Sources files.
29 sync.sh $ARCHIVE nolock
34 SOURCES="${ARCHIVE_BASE}/archive/${suite}-test/local/source/Sources.gz"
35 PACKAGES="${ARCHIVE_BASE}/archive/${suite}-test/local/binary-%ARCH%/Packages.gz"
36 PACKAGES_BASE="${ARCHIVE_MAIN}/archive/${base_suite}/{main,contrib}/binary-%ARCH%/Packages.gz"
37 PACKAGES_BASE="${PACKAGES_BASE} ${ARCHIVE_BASE}/archive/${suite}/local/binary-%ARCH%/Packages.gz"
38 trigger_wb_update_with_secondary "$base_suite" "$ARCHES" "$PACKAGES_BASE" "$SOURCES" "$PACKAGES" "$suite-edu"