From 830dfb59e963bd9233b7eea4ff7acf87239c0dd1 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Thu, 30 Apr 2015 21:11:17 +0200 Subject: reproducible: setup_schroot: print apt invocation --- bin/reproducible_setup_schroot.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin/reproducible_setup_schroot.sh') diff --git a/bin/reproducible_setup_schroot.sh b/bin/reproducible_setup_schroot.sh index 41dc2354..1b45fc78 100755 --- a/bin/reproducible_setup_schroot.sh +++ b/bin/reproducible_setup_schroot.sh @@ -54,10 +54,12 @@ bootstrap() { sudo chroot $CHROOT_TARGET apt-get update if [ -n "$1" ] ; then + set -x sudo chroot $CHROOT_TARGET apt-get update # install debbindiff with all recommends... #sudo chroot $CHROOT_TARGET apt-get install -y --no-install-recommends "$@" sudo chroot $CHROOT_TARGET apt-get install -y "$@" + if ! $DEBUG ; then set +x ; fi else # schroot is used to download sources, so add our repo too echo 'deb-src http://reproducible.alioth.debian.org/debian/ ./' > /etc/apt/sources.list.d/reproducible.list -- cgit v1.2.3-54-g00ecf