Add backports, use deb.debian.org
authorvarac <varacanero@zeromail.org>
Sat, 5 Nov 2016 13:01:23 +0000 (14:01 +0100)
committervarac <varacanero@zeromail.org>
Sat, 5 Nov 2016 13:01:23 +0000 (14:01 +0100)
scripts/base.sh

index 946b130..1c38167 100644 (file)
@@ -1,6 +1,7 @@
 #!/bin/bash
 
-perl -p -i -e 's#http://us.archive.ubuntu.com/ubuntu#http://mirror.rackspace.com/ubuntu#gi' /etc/apt/sources.list
+echo -e "deb http://deb.debian.org/debian/ jessie main\ndeb http://security.debian.org/ jessie/updates main" > /etc/apt/sources.list
+echo "deb http://deb.debian.org/debian/ jessie-backports main" > /etc/apt/sources.list.d/backports.list
 
 # Update the box
 apt-get -y update >/dev/null