|
@ -43,13 +43,12 @@ if ! type -p fzf; then |
|
|
case $(lsb_release -rs) in |
|
|
case $(lsb_release -rs) in |
|
|
9|9.*) |
|
|
9|9.*) |
|
|
backports_list="/etc/apt/sources.list.d/backports.list" |
|
|
backports_list="/etc/apt/sources.list.d/backports.list" |
|
|
if ! [ -e "$backports_list" ]; then |
|
|
|
|
|
echo "deb http://ftp.debian.org/debian stretch-backports main" > \ |
|
|
|
|
|
|
|
|
protect_pre_install /etc/apt/sources.list.d/backports.list |
|
|
|
|
|
echo "deb http://archive.debian.org/debian stretch-backports main" > \ |
|
|
"$backports_list" |
|
|
"$backports_list" |
|
|
## Update only this repo: |
|
|
## Update only this repo: |
|
|
apt-get update -o Dir::Etc::sourcelist="sources.list.d/backports.list" \ |
|
|
apt-get update -o Dir::Etc::sourcelist="sources.list.d/backports.list" \ |
|
|
-o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0" |
|
|
-o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0" |
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
;; |
|
|
;; |
|
|
esac |
|
|
esac |
|
|