[Qa-jenkins-scm] [jenkins.debian.net] 01/01: fixup 34c1585: reproducible Debian: remove unattended upgrades if its installed

Holger Levsen holger at layer-acht.org
Thu Mar 30 15:09:37 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 00c3c9a068db1c469424e60e1440789d5304f0b9
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu Mar 30 17:09:30 2017 +0200

    fixup 34c1585: reproducible Debian: remove unattended upgrades if its installed
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 update_jdn.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/update_jdn.sh b/update_jdn.sh
index d9308a9..0ca153d 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -498,7 +498,7 @@ if [ -f /etc/debian_version ] ; then
 		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
+			 sudo 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

-- 
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