fix
This commit is contained in:
parent
61d0838665
commit
01e50f6763
|
@ -9,13 +9,18 @@ USERNAME=fschl
|
||||||
apt_sources() {
|
apt_sources() {
|
||||||
DIST="${$1:-stable}"
|
DIST="${$1:-stable}"
|
||||||
if [[ ! "stable" -eq ${DIST} ]]; then
|
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
|
else
|
||||||
cat <<-EOF > /etc/apt/sources.list
|
cat <<-EOF > /etc/apt/sources.list
|
||||||
deb http://ftp.de.debian.org/debian/ stable main contrib
|
deb http://ftp.de.debian.org/debian/ stable main contrib
|
||||||
deb http://ftp.de.debian.org/debian/ stable-updates main contrib
|
deb http://ftp.de.debian.org/debian/ stable-updates main contrib
|
||||||
deb http://security.debian.org/ stable/updates main
|
deb http://security.debian.org/ stable/updates main
|
||||||
EOF
|
EOF
|
||||||
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -126,7 +131,6 @@ install_i3() {
|
||||||
# tlp: Advanced Linux Power Management
|
# tlp: Advanced Linux Power Management
|
||||||
# http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html
|
# http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html
|
||||||
deb http://repo.linrunner.de/debian sid main
|
deb http://repo.linrunner.de/debian sid main
|
||||||
fi
|
|
||||||
|
|
||||||
# add the tlp apt-repo gpg key
|
# add the tlp apt-repo gpg key
|
||||||
apt-key adv --keyserver pool.sks-keyservers.net --recv-keys CD4E8809
|
apt-key adv --keyserver pool.sks-keyservers.net --recv-keys CD4E8809
|
||||||
|
|
Loading…
Reference in New Issue