]> piware.de Git - bin.git/commitdiff
schrootbd: force new conffiles
authorMartin Pitt <martin@piware.de>
Wed, 25 Jan 2017 13:32:04 +0000 (14:32 +0100)
committerMartin Pitt <martin@piware.de>
Wed, 25 Jan 2017 13:32:04 +0000 (14:32 +0100)
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")
 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
 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