]> piware.de Git - bin.git/blobdiff - schrootbd
build-debian-toolbox: Avoid deb.debian.org
[bin.git] / schrootbd
index 2e0d4002285870497f7bf31d9d7c4ac6512bd3a6..b28079721b5f08373b1bee99467ec24ed3719bb1 100755 (executable)
--- a/schrootbd
+++ b/schrootbd
@@ -9,6 +9,6 @@ if [ -z "$pkg" ]; then
 fi
 
 SESSID=$(schroot -b -c "$schroot" -n "schroot-$schroot-$pkg")
-schroot -r -c session:$SESSID -u root -- apt-get -y build-dep "$pkg"
+schroot -r -c session:$SESSID -u root -- apt-get -o Dpkg::Options::="--force-confnew" -y build-dep "$pkg"
 echo "You will now be put into the schroot. It will NOT be cleaned up when you exit this shell!"
 schroot -r -c session:$SESSID