Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions bin/install-site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -141,17 +141,14 @@ update_apt_sources() {
esac
elif [ x"$DISTRIBUTION" = x"debian" ] ; then
case "$DISTVERSION" in
buster)
BACKPORTS=false
SECURITY="$DISTVERSION/updates"
;;
bullseye)
BACKPORTS=false
SECURITY="$DISTVERSION-security"
;;
bookworm)
BACKPORTS=false
SECURITY="$DISTVERSION-security"
;;
trixie)
BACKPORTS=false
;;
*)
notice_msg "Unsupported distribution and version combination $DISTRIBUTION $DISTVERSION"
Expand All @@ -170,7 +167,7 @@ Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
# Security Updates:
Types: deb deb-src
URIs: http://deb.debian.org/debian-security
Suites: $SECURITY
Suites: $DISTVERSION-security
Components: main contrib non-free
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

Expand Down Expand Up @@ -200,7 +197,7 @@ update_mysociety_apt_sources() {
# We build packages targetted at Debian releases.
# Try and select the most appropritate ones for Ubuntu.
case "$DISTVERSION" in
focal|jammy|buster|bullseye|bookworm)
focal|jammy|bullseye|bookworm|trixie)
cat > /etc/apt/sources.list.d/mysociety.sources <<EOF
Types: deb
URIs: http://debian.mysociety.org
Expand Down
13 changes: 5 additions & 8 deletions shlib/installfns
Original file line number Diff line number Diff line change
Expand Up @@ -141,17 +141,14 @@ update_apt_sources() {
esac
elif [ x"$DISTRIBUTION" = x"debian" ] ; then
case "$DISTVERSION" in
buster)
BACKPORTS=false
SECURITY="$DISTVERSION/updates"
;;
bullseye)
BACKPORTS=false
SECURITY="$DISTVERSION-security"
;;
bookworm)
BACKPORTS=false
SECURITY="$DISTVERSION-security"
;;
trixie)
BACKPORTS=false
;;
*)
notice_msg "Unsupported distribution and version combination $DISTRIBUTION $DISTVERSION"
Expand All @@ -170,7 +167,7 @@ Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
# Security Updates:
Types: deb deb-src
URIs: http://deb.debian.org/debian-security
Suites: $SECURITY
Suites: $DISTVERSION-security
Components: main contrib non-free
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

Expand Down Expand Up @@ -200,7 +197,7 @@ update_mysociety_apt_sources() {
# We build packages targetted at Debian releases.
# Try and select the most appropritate ones for Ubuntu.
case "$DISTVERSION" in
focal|jammy|buster|bullseye|bookworm)
focal|jammy|bullseye|bookworm|trixie)
cat > /etc/apt/sources.list.d/mysociety.sources <<EOF
Types: deb
URIs: http://debian.mysociety.org
Expand Down
Loading