summaryrefslogtreecommitdiff
path: root/debian.sh
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2011-03-08 16:11:38 +0100
committerChristoph Helma <helma@in-silico.ch>2011-03-08 16:11:38 +0100
commitc919fcaf88750c4e0c6c905f42b18bf73fbecab1 (patch)
treef4e735a33c685ba4bcd3569032be77dcb60333d4 /debian.sh
parent3f0829525db2e2bf12c08e3341b1ee11b4a86a03 (diff)
german debian mirror added to avoid connection problems
Diffstat (limited to 'debian.sh')
-rw-r--r--debian.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian.sh b/debian.sh
index ed66e39..49eb92f 100644
--- a/debian.sh
+++ b/debian.sh
@@ -1,6 +1,9 @@
#!/bin/sh
echo "Downloading and updating Debian packages"
+echo "deb http://ftp.de.debian.org/debian squeeze main contrib
+deb http://ftp.de.debian.org/debian/ squeeze non-free" > /etc/apt/sources.list
+
apt-get install lsb-release
codename=`lsb_release -a|grep Codename|cut -f2`
if ! grep "^deb.*debian\.org.*non-free" /etc/apt/sources.list