blob: 677c0d38ea565b4802a772cbe776b8a509e3303b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#!/bin/bash
dirname="$(dirname "$0")"
. "${dirname}/../config"
. "${dirname}/../db-functions"
script_lock
if [ $# -ne 1 ]; then
die "usage: %s <mailto>" "${0##*/}"
fi
mailto=$1
check() {
"${dirname}"/check_archlinux/check_packages.py \
--repos="${repos}" \
--abs-tree="/srv/abs/rsync/${arch},/srv/abs/rsync/any" \
--repo-dir="${FTP_BASE}" \
--arch="${arch}" \
2>&1 | "${dirname}"/devlist-mailer "Integrity Check ${arch}: ${repos}" "${mailto}"
}
repos='core,extra,community'
arch='i686'
check
repos='core,extra,community,multilib'
arch='x86_64'
check
script_unlock
|