Skip to content

Commit 6a67842

Browse files
committed
Merge branch 'apt-security-repo-default'
2 parents 30ae240 + 0e766fe commit 6a67842

2 files changed

Lines changed: 10 additions & 16 deletions

File tree

bin/install-site.sh

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -141,17 +141,14 @@ update_apt_sources() {
141141
esac
142142
elif [ x"$DISTRIBUTION" = x"debian" ] ; then
143143
case "$DISTVERSION" in
144-
buster)
145-
BACKPORTS=false
146-
SECURITY="$DISTVERSION/updates"
147-
;;
148144
bullseye)
149145
BACKPORTS=false
150-
SECURITY="$DISTVERSION-security"
151146
;;
152147
bookworm)
153148
BACKPORTS=false
154-
SECURITY="$DISTVERSION-security"
149+
;;
150+
trixie)
151+
BACKPORTS=false
155152
;;
156153
*)
157154
notice_msg "Unsupported distribution and version combination $DISTRIBUTION $DISTVERSION"
@@ -170,7 +167,7 @@ Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
170167
# Security Updates:
171168
Types: deb deb-src
172169
URIs: http://deb.debian.org/debian-security
173-
Suites: $SECURITY
170+
Suites: $DISTVERSION-security
174171
Components: main contrib non-free
175172
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
176173
@@ -200,7 +197,7 @@ update_mysociety_apt_sources() {
200197
# We build packages targetted at Debian releases.
201198
# Try and select the most appropritate ones for Ubuntu.
202199
case "$DISTVERSION" in
203-
focal|jammy|buster|bullseye|bookworm)
200+
focal|jammy|bullseye|bookworm|trixie)
204201
cat > /etc/apt/sources.list.d/mysociety.sources <<EOF
205202
Types: deb
206203
URIs: http://debian.mysociety.org

shlib/installfns

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -141,17 +141,14 @@ update_apt_sources() {
141141
esac
142142
elif [ x"$DISTRIBUTION" = x"debian" ] ; then
143143
case "$DISTVERSION" in
144-
buster)
145-
BACKPORTS=false
146-
SECURITY="$DISTVERSION/updates"
147-
;;
148144
bullseye)
149145
BACKPORTS=false
150-
SECURITY="$DISTVERSION-security"
151146
;;
152147
bookworm)
153148
BACKPORTS=false
154-
SECURITY="$DISTVERSION-security"
149+
;;
150+
trixie)
151+
BACKPORTS=false
155152
;;
156153
*)
157154
notice_msg "Unsupported distribution and version combination $DISTRIBUTION $DISTVERSION"
@@ -170,7 +167,7 @@ Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
170167
# Security Updates:
171168
Types: deb deb-src
172169
URIs: http://deb.debian.org/debian-security
173-
Suites: $SECURITY
170+
Suites: $DISTVERSION-security
174171
Components: main contrib non-free
175172
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
176173
@@ -200,7 +197,7 @@ update_mysociety_apt_sources() {
200197
# We build packages targetted at Debian releases.
201198
# Try and select the most appropritate ones for Ubuntu.
202199
case "$DISTVERSION" in
203-
focal|jammy|buster|bullseye|bookworm)
200+
focal|jammy|bullseye|bookworm|trixie)
204201
cat > /etc/apt/sources.list.d/mysociety.sources <<EOF
205202
Types: deb
206203
URIs: http://debian.mysociety.org

0 commit comments

Comments
 (0)