From 55422c61279ed1bad50f81708671a298594858b3 Mon Sep 17 00:00:00 2001 From: julien Date: Wed, 24 Sep 2025 22:55:34 +0200 Subject: [PATCH] added message when editing /etc/apt/sources.list --- modules/repos.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/repos.sh b/modules/repos.sh index 4ce55eb..4a11632 100755 --- a/modules/repos.sh +++ b/modules/repos.sh @@ -6,6 +6,7 @@ echo grep -E "(contrib|non-free)" /etc/apt/sources.list > /dev/null 2>&1 if [ $? -ne 0 ]; then + echo "Adding contrib and non-free repositories to /etc/apt/sources.list" sed -i "s/http:\/\/deb.debian.org\/debian\/ trixie main non-free-firmware/& contrib non-free/" /etc/apt/sources.list sed -i "s/http:\/\/security.debian.org\/debian-security trixie-security main non-free-firmware/& contrib non-free/" /etc/apt/sources.list sed -i "s/http:\/\/deb.debian.org\/debian\/ trixie-updates main non-free-firmware/& contrib non-free/" /etc/apt/sources.list