From adc335669de2a8af2c271b2f08d50934344c871d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Floure?= Date: Thu, 18 Feb 2021 14:09:44 +0100 Subject: [PATCH] [__matrix_synapse] use __apt_backport instead of __apt_source --- type/__matrix_synapse/manifest | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/type/__matrix_synapse/manifest b/type/__matrix_synapse/manifest index 84592cd..ef552ba 100755 --- a/type/__matrix_synapse/manifest +++ b/type/__matrix_synapse/manifest @@ -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