[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Archlinux: fixup irc notification supress when nothing has been scheduled
Holger Levsen
gitlab at salsa.debian.org
Tue Sep 25 20:02:23 BST 2018
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
845e0ab4 by Holger Levsen at 2018-09-25T19:02:14Z
reproducible Archlinux: fixup irc notification supress when nothing has been scheduled
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_archlinux_scheduler.sh
Changes:
=====================================
bin/reproducible_archlinux_scheduler.sh
=====================================
@@ -180,7 +180,7 @@ update_archlinux_repositories() {
new=$(cat $NEW | wc -l 2>/dev/null|| true)
updated=$(cat $UPDATED 2>/dev/null| wc -l || true)
old=$(cat $OLD | wc -l 2>/dev/null|| true)
- if [ $new -ne 0 ] || [ $updated -ne 0 ] || [ -n "$old" ] ; then
+ if [ $new -ne 0 ] || [ $updated -ne 0 ] || [ $old -ne 0 ] ; then
message="scheduled"
if [ $new -ne 0 ] ; then
message="$message $new entirely new packages"
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/845e0ab493047c67f326c1ff56209ce0414e0347
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/845e0ab493047c67f326c1ff56209ce0414e0347
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/20180925/7c1ca25c/attachment.html>
More information about the Qa-jenkins-scm
mailing list