summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xupdate_jdn.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index d9308a97..0ca153d1 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