[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] only try to remove munin-async if it's installed (less noise when deploying)

Holger Levsen gitlab at salsa.debian.org
Thu Sep 10 18:46:32 BST 2020



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


Commits:
f73cffd7 by Holger Levsen at 2020-09-10T19:46:16+02:00
only try to remove munin-async if it's installed (less noise when deploying)

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

- - - - -


1 changed file:

- update_jdn.sh


Changes:

=====================================
update_jdn.sh
=====================================
@@ -621,8 +621,9 @@ if [ -f /etc/debian_version ] ; then
 	fi
 fi
 
+# remove munin-async (if it's installed which happens during setup as it's a recommends)
 # harmless but has a service which can fail and thus can make maintenance jobs unstable
-sudo apt-get remove munin-async
+( dpkg -l munin-async 2>/dev/null && sudo apt-get remove munin-async ) || true
 
 #
 # deploy package configuration in /etc and /usr



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/f73cffd7befdad24200a20acc60d4e73d91b49ac

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/f73cffd7befdad24200a20acc60d4e73d91b49ac
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/20200910/99b2a188/attachment.html>


More information about the Qa-jenkins-scm mailing list