From db00ce3c343cf6eea9cb512f7bba9ea7904526b8 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Sat, 21 Feb 2009 13:43:23 -0800 Subject: Add a script to simplify the integ check call Signed-off-by: Aaron Griffin --- cron-jobs/integrity-check | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 cron-jobs/integrity-check diff --git a/cron-jobs/integrity-check b/cron-jobs/integrity-check new file mode 100755 index 0000000..c3b016c --- /dev/null +++ b/cron-jobs/integrity-check @@ -0,0 +1,14 @@ +#!/bin/bash + +basedir="$(dirname $0)" + +if [ $# -ne 3 ]; then + echo "usage: $(basename $0) [,,...] " >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" -- cgit v1.2.3-54-g00ecf