X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=buildd_sign;h=70e106937acb1ef948b8edf7651a9dbd8f339145;hb=3d5241a316e3ff729b19b878b0841558120f75e9;hp=24fd6100b9da89c580c633be1c5d208379895e06;hpb=b7ca5efac9a1a21c0361ea964f870c2f4ada257c;p=bin.git diff --git a/buildd_sign b/buildd_sign index 24fd610..70e1069 100755 --- a/buildd_sign +++ b/buildd_sign @@ -42,6 +42,11 @@ for a in "$@"; do mutt -e 'set content_type="text/plain; charset=utf-8"' -s "Re: $SUBJECT" "$RETURN_PATH"; mark_read "${a}"; echo "Handled '${SUBJECT}'"; + elif egrep -q '^Subject: Should I build' "$a"; then + echo 'ok'| \ + mutt -e 'set content_type="text/plain; charset=utf-8"' -s "Re: $SUBJECT" "$RETURN_PATH"; + mark_read "${a}"; + echo "Handled '${SUBJECT}'"; elif egrep -q '^Subject: Log.+attempted' "$a" && egrep -q "ERROR: dependency .* is not available for package .*" "$a"; then (echo -n 'fail '; egrep "ERROR: dependency .* is not available for package .*" "$a")| \ @@ -75,5 +80,9 @@ for a in "$@"; do mutt -e 'set content_type="text/plain; charset=utf-8"' -s "Re: $SUBJECT" "$RETURN_PATH"; mark_read "${a}"; echo "Handled '${SUBJECT}'"; + else + echo "Marking '$SUBJECT' read"; + mark_read "${a}"; + echo "Handled '${SUBJECT}'"; fi; done;