blob: b5e2de4fbbcd83cc68554019527a708504d85af1 (
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 "$(readlink -e "$0")")"
source "${dirname}/../etc/dbscripts.cfg"
source "${dirname}/../share/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="${root_dir}" \
--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
|