aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorJacob Appelbaum <jacob@appelbaum.net>2011-08-18 19:05:28 +0200
committerJacob Appelbaum <jacob@appelbaum.net>2011-08-18 19:05:28 +0200
commit7e495f7c032c5abc5a0d73eabcc5c468c836cbd8 (patch)
tree9513baef70e8e10b70b2e3e419b4c4ce52ef8dc9 /packages
parent0ef8a64dfe06afd61d61e5e1648a11e27137ef3f (diff)
downloadtorouter-7e495f7c032c5abc5a0d73eabcc5c468c836cbd8.tar.gz
torouter-7e495f7c032c5abc5a0d73eabcc5c468c836cbd8.zip
pin apt to stable
Diffstat (limited to 'packages')
-rw-r--r--packages/torouter-prep/configs/apt.conf1
-rw-r--r--packages/torouter-prep/src/torouter_config.sh1
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