From e7ea857f3f62f037253b6a6a800221a52f861e2e Mon Sep 17 00:00:00 2001 From: Marcus Date: Tue, 13 Jun 2023 01:20:08 +0200 Subject: [PATCH] changes --- setup.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index c8b356f..ada8267 100644 --- a/setup.sh +++ b/setup.sh @@ -64,7 +64,19 @@ message "check sources.list" if ! grep "contrib" /etc/apt/sources.list > /dev/null && grep "non-free" /etc/apt/sources.list > /dev/null then message warn "'contrib' and 'non-free' not in your sources.ist, i will deploy my own" - echo "" | sudo tee /etc/apt/sources.list + echo "deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware +deb-src http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware + +deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware +deb-src http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware + +# bookworm-updates, to get updates before a point release is made; +# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports +deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware +deb-src http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware +" | sudo tee /etc/apt/sources.list + message "apt update" + sudo apt update fi # iterate through $packages