[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Arch Linux: correct grammar of irc message

Holger Levsen gitlab at salsa.debian.org
Fri Feb 15 14:12:55 GMT 2019


Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
4ec06893 by Holger Levsen at 2019-02-15T14:12:46Z
reproducible Arch Linux: correct grammar of irc message

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/reproducible_archlinux_scheduler.sh


Changes:

=====================================
bin/reproducible_archlinux_scheduler.sh
=====================================
@@ -227,7 +227,11 @@ update_archlinux_repositories() {
 	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)"
+			if [ $new -eq 1 ] ; then
+				MESSAGE="Added $new package: $(cat $NEW | xargs echo)"
+			else
+				MESSAGE="Added $new packages: $(cat $NEW | xargs echo)"
+			fi
 			irc_message archlinux-reproducible "$MESSAGE"
 		fi
 		# inform irc channel how many packages of which kind have been scheduled



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/4ec06893c0abfe75cd2f8c44deb3b72ff2fb88e1

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/4ec06893c0abfe75cd2f8c44deb3b72ff2fb88e1
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20190215/3d524ecb/attachment.html>


More information about the Qa-jenkins-scm mailing list