[Qa-jenkins-scm] [jenkins.debian.net] 02/03: reproducible Debian: remove unattended upgrades if its installed
Holger Levsen
holger at layer-acht.org
Thu Mar 30 14:27:28 UTC 2017
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 34c1585c61d79ebe1a317c4222b8e5cb6fbf9b3c
Author: Holger Levsen <holger at layer-acht.org>
Date: Thu Mar 30 16:16:17 2017 +0200
reproducible Debian: remove unattended upgrades if its installed
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
update_jdn.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/update_jdn.sh b/update_jdn.sh
index 8550523..d9308a9 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -496,6 +496,10 @@ if [ -f /etc/debian_version ] ; then
;;
esac
fi
+ # remove unattended-upgrades if it's installed
+ if [ -n "$(dpkg -l unattended-upgrades 2>/dev/null|egrep 'ii.*unattended-upgrades')" ] ; then
+ apt-get -y purge unattended-upgrades
+ fi
# we need mock from bpo to build current fedora
if [ "$HOSTNAME" = "profitbricks-build3-amd64" ] || [ "$HOSTNAME" = "profitbricks-build4-amd64" ] || [ "$HOSTNAME" = "jenkins" ] ; then
$UP2DATE || sudo apt-get install -t jessie-backports mock \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list