diff options
author | Holger Levsen <holger@layer-acht.org> | 2017-03-30 16:16:17 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2017-03-30 16:16:17 +0200 |
commit | 34c1585c61d79ebe1a317c4222b8e5cb6fbf9b3c (patch) | |
tree | 89c31b34a6020bd53cee09844129fa2776c70a5d | |
parent | 247041e2bd3abdc7b710cd85aef46f07f4903459 (diff) | |
download | jenkins.debian.net-34c1585c61d79ebe1a317c4222b8e5cb6fbf9b3c.tar.xz |
reproducible Debian: remove unattended upgrades if its installed
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-x | update_jdn.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/update_jdn.sh b/update_jdn.sh index 85505236..d9308a97 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 \ |