Use regexp to check for $dist/updates vs $dist-security
If the security repo will be enabled or not currently depends on the host's sources.list. So the resulting files differ depending on the host where the test is run. Add a TODO item to break with that "feature". Also mention in the TODO list that a repo on archive.debian.org should be used instead security.debian.org if the release is EoL. Currently the security mirror is hardcoded into the hook.
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
#
|
||||
# /etc/apt/sources.list
|
||||
#
|
||||
|
||||
|
||||
#
|
||||
# bookworm
|
||||
#
|
||||
deb http://deb.debian.org/debian bookworm main contrib non-free
|
||||
deb-src http://deb.debian.org/debian bookworm main contrib non-free
|
||||
|
||||
#
|
||||
# Security updates
|
||||
#
|
||||
deb http://security.debian.org/ bookworm-security main contrib non-free
|
||||
deb-src http://security.debian.org/ bookworm-security main contrib non-free
|
||||
@@ -1,16 +0,0 @@
|
||||
#
|
||||
# /etc/apt/sources.list
|
||||
#
|
||||
|
||||
|
||||
#
|
||||
# bullseye
|
||||
#
|
||||
deb http://deb.debian.org/debian bullseye main contrib non-free
|
||||
deb-src http://deb.debian.org/debian bullseye main contrib non-free
|
||||
|
||||
#
|
||||
# Security updates
|
||||
#
|
||||
deb http://security.debian.org/ bullseye-security main contrib non-free
|
||||
deb-src http://security.debian.org/ bullseye-security main contrib non-free
|
||||
@@ -1,16 +0,0 @@
|
||||
#
|
||||
# /etc/apt/sources.list
|
||||
#
|
||||
|
||||
|
||||
#
|
||||
# buster
|
||||
#
|
||||
deb http://deb.debian.org/debian buster main contrib non-free
|
||||
deb-src http://deb.debian.org/debian buster main contrib non-free
|
||||
|
||||
#
|
||||
# Security updates
|
||||
#
|
||||
deb http://security.debian.org/ buster/updates main contrib non-free
|
||||
deb-src http://security.debian.org/ buster/updates main contrib non-free
|
||||
@@ -1,16 +0,0 @@
|
||||
#
|
||||
# /etc/apt/sources.list
|
||||
#
|
||||
|
||||
|
||||
#
|
||||
# sid
|
||||
#
|
||||
deb http://deb.debian.org/debian sid main contrib non-free
|
||||
deb-src http://deb.debian.org/debian sid main contrib non-free
|
||||
|
||||
#
|
||||
# Security updates - Uncomment to enable.
|
||||
#
|
||||
# deb http://security.debian.org/ sid-security main contrib non-free
|
||||
# deb-src http://security.debian.org/ sid-security main contrib non-free
|
||||
@@ -1,16 +0,0 @@
|
||||
#
|
||||
# /etc/apt/sources.list
|
||||
#
|
||||
|
||||
|
||||
#
|
||||
# stretch
|
||||
#
|
||||
deb http://deb.debian.org/debian stretch main contrib non-free
|
||||
deb-src http://deb.debian.org/debian stretch main contrib non-free
|
||||
|
||||
#
|
||||
# Security updates
|
||||
#
|
||||
deb http://security.debian.org/ stretch/updates main contrib non-free
|
||||
deb-src http://security.debian.org/ stretch/updates main contrib non-free
|
||||
Reference in New Issue
Block a user