Commit f7019d9a authored by Holger Levsen's avatar Holger Levsen

reproducible Arch Linux: inform IRC about new packages

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent 676d63a8
......@@ -225,6 +225,12 @@ update_archlinux_repositories() {
old=$(echo -n "$OLD" | wc -l 2>/dev/null|| true)
depwait404=$(echo -n "$DEPWAIT404" | wc -l 2>/dev/null|| true)
if [ $new -ne 0 ] || [ $updated -ne 0 ] || [ $old -ne 0 ] || [ $depwait404 -ne 0 ] ; then
# inform irc channel about new packages
if [ $new -ne 0 ] ; then
MESSAGE="Added $new packages: $(cat $NEW | xargs echo)"
irc_message archlinux-reproducible "$MESSAGE"
fi
# inform irc channel how many packages of which kind have been scheduled
message="scheduled"
if [ $new -ne 0 ] ; then
message="$message $new new package"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment