From 53854e540a8af9f98bc9d152309ab28e2c66b056 Mon Sep 17 00:00:00 2001 From: ITmail-dk <48917593+ITmail-dk@users.noreply.github.com> Date: Tue, 15 Oct 2024 11:54:50 +0200 Subject: [PATCH] Update install.sh --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index fc05e0a..f51c3c5 100644 --- a/install.sh +++ b/install.sh @@ -45,7 +45,7 @@ sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak.$(date +'%d-%m-%Y_%H%M%S sudo sed -i '/^deb cdrom:/s/^/#/' /etc/apt/sources.list # 2. Kontroller og tilføj Bookworm repositories, hvis de ikke allerede er der -if ! grep -q "^deb http://deb.debian.org/debian/ bookworm main non-free-firmware" /etc/apt/sources.list; then +if ! grep -q "^deb http://deb.debian.org/debian/ bookworm main non-free-firmware" || grep -q "^deb https://deb.debian.org/debian/ bookworm main non-free-firmware" /etc/apt/sources.list; then echo "Tilføjer Debian Bookworm repositories til /etc/apt/sources.list" sudo tee -a /etc/apt/sources.list <