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

[tor-commits] [torouter/master] pin apt to stable



commit 7e495f7c032c5abc5a0d73eabcc5c468c836cbd8
Author: Jacob Appelbaum <jacob@xxxxxxxxxxxxx>
Date:   Thu Aug 18 19:05:28 2011 +0200

    pin apt to stable
---
 packages/torouter-prep/configs/apt.conf       |    1 +
 packages/torouter-prep/src/torouter_config.sh |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/packages/torouter-prep/configs/apt.conf b/packages/torouter-prep/configs/apt.conf
new file mode 100644
index 0000000..4143a94
--- /dev/null
+++ b/packages/torouter-prep/configs/apt.conf
@@ -0,0 +1 @@
+APT::Default-Release "stable";
diff --git a/packages/torouter-prep/src/torouter_config.sh b/packages/torouter-prep/src/torouter_config.sh
index 5344411..cec4606 100644
--- a/packages/torouter-prep/src/torouter_config.sh
+++ b/packages/torouter-prep/src/torouter_config.sh
@@ -36,6 +36,7 @@ cp $config_dir/sources.list /etc/apt/sources.list
 
 # We're creating this file to ensure we get updates
 cp $config_dir/apt-preferences.d-backports /etc/apt/preferences.d/backports
+cp $config_dir/apt.conf /etc/apt/apt.conf
 
 apt-get -y update
 

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