diff --git a/src/bookworm b/src/bookworm index dbebfd8..c6981ea 100755 --- a/src/bookworm +++ b/src/bookworm @@ -62,8 +62,7 @@ REQUIRED_PACKAGES=( echo "# configure apt sources to the mithril's" echo "========================================" - -if ! grep -q debian.mithril.re /etc/apt/sources.list; then +if grep debian-src /etc/apt/sources.list; then echo "deb http://debian.mithril.re/debian bookworm main contrib non-free-firmware" | sudo tee /etc/apt/sources.list echo "deb http://debian.mithril.re/debian bookworm-updates main contrib non-free-firmware" | sudo tee -a /etc/apt/sources.list echo "deb http://debian.mithril.re/debian-security bookworm-security main contrib non-free-firmware" | sudo tee -a /etc/apt/sources.list