V8.04.002.2025.08.11
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 53s
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user