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

basedir="$(dirname $0)"

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

$basedir/cron-jobs/check_archlinux/check_packages.py \
    --repos="$1" \
    --abs-tree="/srv/abs/rsync/$2" --arch="$1" |\
    $basedir/cron-jobs/devlist-mailer \
    "Integrity Check $2: $1" "$3"