From 79cab1ad5d40eaae455f38499e3bb25f1b4f3620 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 30 Jul 2015 14:00:12 +0200 Subject: more sudo and fixup quoting --- update_jdn.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update_jdn.sh b/update_jdn.sh index ec3c8863..f831d70e 100755 --- a/update_jdn.sh +++ b/update_jdn.sh @@ -67,7 +67,7 @@ for directory in /srv/jenkins ; do done if ! test -h /chroots; then - rmdir /chroots || rm -f /chroots # do not recurse + sudo rmdir /chroots || sudo rm -f /chroots # do not recurse if test -e /chroots; then explain "could not clear /chroots" else @@ -205,7 +205,7 @@ if [ -f /etc/debian_version ] ; then else MASTERDEBS="" fi - sudo apt-get install "$DEBS $MASTERDEBS" + sudo apt-get install $DEBS $MASTERDEBS sudo apt-get install -t jessie-backports \ pbuilder # botch -- cgit v1.2.3-70-g09d2