[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-cloud/master] dpkg should not cause conffile prompts



commit 4ccfb87a893fa6d1d8d4ae7c4f284fd8c92aef54
Author: Runa A. Sandvik <runa.sandvik@xxxxxxxxx>
Date:   Tue Aug 7 16:00:12 2012 +0100

    dpkg should not cause conffile prompts
---
 ec2-prep.sh |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ec2-prep.sh b/ec2-prep.sh
index 474cff6..331017c 100644
--- a/ec2-prep.sh
+++ b/ec2-prep.sh
@@ -60,6 +60,9 @@ Unattended-Upgrade::Allowed-Origins {
 // Automatically reboot *WITHOUT CONFIRMATION* if the file
 // /var/run/reboot-required is found after the upgrade
 Unattended-Upgrade::Automatic-Reboot "true";
+
+// Do not cause conffile prompts
+Dpkg::Options { --force-confold; }
 EOF
 
 # Configure iptables to redirect traffic to port 443 to port 9001

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits