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