summaryrefslogtreecommitdiff
path: root/cron-jobs/integrity-check
blob: c120cfd82aae69828252c145d26f7a3ed333bc9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

basedir="$(dirname $0)"

if [ $# -ne 2 ]; then
    echo "usage: $(basename $0) <repo>[,<repo>,...] <mailto>" >&2
    exit 1
fi

for arch in ${ARCHES[@]}; do
    $basedir/check_archlinux/check_packages.py \
        --repos="$1" \
        --abs-tree="/srv/abs/rsync/$arch,/srv/abs/rsync/any" --arch="$arch" |\
        $basedir/devlist-mailer "Integrity Check $arch: $1" "$2"
done