summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-09 08:43:16 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-09 08:43:16 +0200
commit95670eabae1f49779ca6fceb26af13c8db0d06a9 (patch)
treec841cdc5433d499c665d62ed9756bc094bcbc9ab /bin
parent0af6aae3dd13faea83cb7c71144c8752e70ac3af (diff)
downloadjenkins.debian.net-95670eabae1f49779ca6fceb26af13c8db0d06a9.tar.xz
only install sudo when explicitly asked for
Diffstat (limited to 'bin')
-rwxr-xr-xbin/schroot-create.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh
index dfeff867..8e902cd0 100755
--- a/bin/schroot-create.sh
+++ b/bin/schroot-create.sh
@@ -156,7 +156,7 @@ bootstrap() {
if [ "$1" = "diffoscope" ] ; then
sudo chroot $CHROOT_TARGET apt-get install -y --install-recommends diffoscope
fi
- sudo chroot $CHROOT_TARGET apt-get install -y --no-install-recommends "$@" sudo
+ sudo chroot $CHROOT_TARGET apt-get install -y --no-install-recommends "$@"
# always use diffoscope from unstable
if [ "$SUITE" = "testing" ] && [ "$1" = "diffoscope" ] ; then
echo "deb $MIRROR unstable main" | sudo tee -a $CHROOT_TARGET/etc/apt/sources.list > /dev/null