From 3a23bcdbf05a35fd45e21a0327814809ecc9d897 Mon Sep 17 00:00:00 2001 From: Nick Thomas Date: Fri, 10 Feb 2017 16:37:59 +0000 Subject: [PATCH] Remove stretch from the list of apt sources after installing git --- scripts/install-essentials | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/install-essentials b/scripts/install-essentials index eeaaa52..83c2f1d 100755 --- a/scripts/install-essentials +++ b/scripts/install-essentials @@ -12,10 +12,13 @@ apt-get install -y \ logrotate python-docutils pkg-config cmake nodejs \ libkrb5-dev postgresql-client mysql-client unzip \ -echo deb http://httpredir.debian.org/debian stretch main > /etc/apt/sources.list +echo deb http://httpredir.debian.org/debian stretch main > /etc/apt/sources.list.d/stretch.list apt-get update -yqqq apt-get install -yqq --force-yes git +rm /etc/apt/sources.list.d/stretch.list +apt-get update -yqqq + # Set UTF-8 # http://stackoverflow.com/a/3182519/2137281 LOC=$'LC_ALL=en_US.UTF-8\nLANG=en_US.UTF-8'