[__matrix_synapse] use __apt_backport instead of __apt_source
This commit is contained in:
parent
12575d661b
commit
adc335669d
1 changed files with 2 additions and 5 deletions
|
@ -42,10 +42,7 @@ case "$os" in
|
||||||
# Enable debian-backports for debian Buster, as the 'stable'
|
# Enable debian-backports for debian Buster, as the 'stable'
|
||||||
# matrix-synapse package is ways too old (< 1.0).
|
# matrix-synapse package is ways too old (< 1.0).
|
||||||
apt_target_release=buster-backports
|
apt_target_release=buster-backports
|
||||||
__apt_source debian-backports \
|
__apt_backport
|
||||||
--uri http://deb.debian.org/debian/ \
|
|
||||||
--distribution "$apt_target_release" \
|
|
||||||
--component main
|
|
||||||
;;
|
;;
|
||||||
bullseye|sid)
|
bullseye|sid)
|
||||||
# As of writting (2021-02), the default matrix-synapse of those
|
# As of writting (2021-02), the default matrix-synapse of those
|
||||||
|
@ -305,7 +302,7 @@ esac
|
||||||
# backports situation.
|
# backports situation.
|
||||||
synapse_req=
|
synapse_req=
|
||||||
if [ -n "$apt_target_release" ]; then
|
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"
|
--target-release "$apt_target_release"
|
||||||
synapse_req="__package_apt/$synapse_pkg"
|
synapse_req="__package_apt/$synapse_pkg"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue