From 96a4e4e2f792bd0363037b1679b73938d5533900 Mon Sep 17 00:00:00 2001 From: Thomas de Roo Date: Fri, 29 Aug 2025 12:12:44 +0200 Subject: [PATCH] Update DebianTweaks.sh --- DebianTweaks.sh | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/DebianTweaks.sh b/DebianTweaks.sh index 97f58f8..a2a0aaa 100755 --- a/DebianTweaks.sh +++ b/DebianTweaks.sh @@ -58,25 +58,25 @@ chmod 444 /sys/devices/virtual/dmi/id/product_serial systemctl restart snmpd echo "--------------------" -echo Debian Bookworm apt sources -cat > /etc/apt/sources.list << "EOF" -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://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware -deb-src http://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware -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 +#echo Debian Bookworm apt sources +#cat > /etc/apt/sources.list << "EOF" +#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://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware +#deb-src http://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware +#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 EOF cd $HOME wget https://www.deb-multimedia.org/pool/main/d/deb-multimedia-keyring/deb-multimedia-keyring_2024.9.1_all.deb apt install ./deb-multimedia-keyring_2024.9.1_all.deb cat >> /etc/apt/sources.list.d/multimedia.list << "EOF" -deb [arch=amd64 signed-by=/usr/share/keyrings/deb-multimedia-keyring.pgp] https://www.deb-multimedia.org bookworm main non-free -EOF -curl -s https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo sh -c 'gpg --dearmor > /usr/share/keyrings/google-chrome-keyring.gpg' -cat >> /etc/apt/sources.list.d/chrome.list << "EOF" -deb [arch=amd64 signed-by=/usr/share/keyrings/google-chrome-keyring.gpg] http://dl.google.com/linux/chrome/deb/ stable main +deb [arch=amd64 signed-by=/usr/share/keyrings/deb-multimedia-keyring.pgp] https://www.deb-multimedia.org trixie main non-free EOF +#curl -s https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo sh -c 'gpg --dearmor > /usr/share/keyrings/google-chrome-keyring.gpg' +#cat >> /etc/apt/sources.list.d/chrome.list << "EOF" +#deb [arch=amd64 signed-by=/usr/share/keyrings/google-chrome-keyring.gpg] http://dl.google.com/linux/chrome/deb/ stable main +#EOF curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > /usr/share/keyrings/packages.microsoft.gpg cat >> /etc/apt/sources.list.d/microsoft.list << "EOF" deb [arch=amd64 signed-by=/usr/share/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/debian/12/prod bookworm main