V8.04.002.2025.08.11
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 53s

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-08-12 14:06:53 +02:00
parent 4f990ff360
commit ad9a7be0c0
4 changed files with 10 additions and 65 deletions

View File

@@ -16,6 +16,16 @@ printf "\e[95m++++ ++++ ++++ ++++ ++++ ++++ ++ 🧪 '%s' starting ... \e[0m\n" "
cd /root
mkdir -p /etc/apt/apt.conf.d
cat << EOF >| /etc/apt/apt.conf.d/00-deb822-prefer
// Make APT ignore the classic /etc/apt/sources.list entirely.
Dir::Etc {
sourcelist "/dev/null"; // classic list is ignored
sourceparts "/etc/apt/sources.list.d"; // deb822 *.sources remain authoritative
}
EOF
if [[ ! -f /etc/apt/sources.list.d/trixie.sources ]]; then
cat << EOF >| /etc/apt/sources.list.d/trixie.sources
# SPDX-Version: 3.0