Remove stretch from the list of apt sources after installing git

This commit is contained in:
Nick Thomas 2017-02-10 16:37:59 +00:00
parent 22cd8531df
commit 3a23bcdbf0

View file

@ -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'