[__matrix_synapse] use __apt_backport instead of __apt_source

This commit is contained in:
fnux 2021-02-18 14:09:44 +01:00
parent 12575d661b
commit adc335669d
No known key found for this signature in database
GPG key ID: 4502C902C00A1E12

View file

@ -42,10 +42,7 @@ case "$os" in
# Enable debian-backports for debian Buster, as the 'stable'
# matrix-synapse package is ways too old (< 1.0).
apt_target_release=buster-backports
__apt_source debian-backports \
--uri http://deb.debian.org/debian/ \
--distribution "$apt_target_release" \
--component main
__apt_backport
;;
bullseye|sid)
# As of writting (2021-02), the default matrix-synapse of those
@ -305,7 +302,7 @@ esac
# backports situation.
synapse_req=
if [ -n "$apt_target_release" ]; then
require="__apt_source/debian-backports" __package_apt "$synapse_pkg" \
require="__apt_backport" __package_apt "$synapse_pkg" \
--target-release "$apt_target_release"
synapse_req="__package_apt/$synapse_pkg"
else