From 01e50f67633ee3cbec6cbf4426bff71b13f5d9b7 Mon Sep 17 00:00:00 2001 From: Frieder Schlesier Date: Thu, 14 Jun 2018 09:51:51 +0200 Subject: [PATCH] fix --- install.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 5fb836e..ac35adf 100755 --- a/install.sh +++ b/install.sh @@ -9,13 +9,18 @@ USERNAME=fschl apt_sources() { DIST="${$1:-stable}" if [[ ! "stable" -eq ${DIST} ]]; then - + cat <<-EOF > /etc/apt/sources.list +deb http://ftp.de.debian.org/debian/ ${DIST} main contrib +deb http://ftp.de.debian.org/debian/ ${DIST}-updates main contrib +deb http://security.debian.org/ ${DIST}/updates main +EOF else cat <<-EOF > /etc/apt/sources.list deb http://ftp.de.debian.org/debian/ stable main contrib deb http://ftp.de.debian.org/debian/ stable-updates main contrib deb http://security.debian.org/ stable/updates main EOF + fi } @@ -126,7 +131,6 @@ install_i3() { # tlp: Advanced Linux Power Management # http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html deb http://repo.linrunner.de/debian sid main - fi # add the tlp apt-repo gpg key apt-key adv --keyserver pool.sks-keyservers.net --recv-keys CD4E8809