From f1ed8fd2de3c70201a9180c55c6c2e597a7cc059 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 15 Feb 2016 12:02:14 +0000 Subject: [PATCH] Debian version --- src/freedombone | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/freedombone b/src/freedombone index 1d3edc2a..cdab0f5c 100755 --- a/src/freedombone +++ b/src/freedombone @@ -3635,17 +3635,17 @@ function create_repo_sources { rm -rf /var/lib/apt/lists/* apt-get clean - echo "deb http://${DEBIAN_REPO}/debian/ jessie main" > /etc/apt/sources.list - echo "deb-src http://${DEBIAN_REPO}/debian/ jessie main" >> /etc/apt/sources.list + echo "deb http://${DEBIAN_REPO}/debian/ ${DEBIAN_VERSION} main" > /etc/apt/sources.list + echo "deb-src http://${DEBIAN_REPO}/debian/ ${DEBIAN_VERSION} main" >> /etc/apt/sources.list echo '' >> /etc/apt/sources.list - echo "deb http://security.debian.org/ jessie/updates main" >> /etc/apt/sources.list - echo "deb-src http://security.debian.org/ jessie/updates main" >> /etc/apt/sources.list + echo "deb http://security.debian.org/ ${DEBIAN_VERSION}/updates main" >> /etc/apt/sources.list + echo "deb-src http://security.debian.org/ ${DEBIAN_VERSION}/updates main" >> /etc/apt/sources.list echo '' >> /etc/apt/sources.list - echo "deb http://${DEBIAN_REPO}/debian/ jessie-updates main" >> /etc/apt/sources.list - echo "deb-src http://${DEBIAN_REPO}/debian/ jessie-updates main" >> /etc/apt/sources.list + echo "deb http://${DEBIAN_REPO}/debian/ ${DEBIAN_VERSION}-updates main" >> /etc/apt/sources.list + echo "deb-src http://${DEBIAN_REPO}/debian/ ${DEBIAN_VERSION}-updates main" >> /etc/apt/sources.list echo '' >> /etc/apt/sources.list - echo "deb http://${DEBIAN_REPO}/debian/ jessie-backports main" >> /etc/apt/sources.list - echo "deb-src http://${DEBIAN_REPO}/debian/ jessie-backports main" >> /etc/apt/sources.list + echo "deb http://${DEBIAN_REPO}/debian/ ${DEBIAN_VERSION}-backports main" >> /etc/apt/sources.list + echo "deb-src http://${DEBIAN_REPO}/debian/ ${DEBIAN_VERSION}-backports main" >> /etc/apt/sources.list apt-get update apt-get -y install apt-transport-https