From 50e808c53ff9705b5ddbb389b395c8e489bf94a2 Mon Sep 17 00:00:00 2001
From: Ruben Rodriguez <ruben@trisquel.info>
Date: Tue, 2 Apr 2019 13:58:09 -0400
Subject: [PATCH] handle backports distribution

---
 helpers/config | 1 +
 1 file changed, 1 insertion(+)

diff --git a/helpers/config b/helpers/config
index acd1ecf2f..9bf3fc6bf 100755
--- a/helpers/config
+++ b/helpers/config
@@ -55,6 +55,7 @@ find $3 -type f -not -iregex '.*changelog.*' -not -iregex '.*copyright.*' -execd
 }
 changelog(){
 head -n 1 debian/changelog | grep -q $UPSTREAM-security && REPO=$CODENAME-security || REPO=$CODENAME
+[ "$BACKPORT" = true ] || [ "$BACKPORTS" = true ] && REPO=${CODENAME}-backports
 echo | dch -D $REPO -v `pkgversion`+${REVISION}trisquel${VERSION} "$1"
 
 # Make sure the changelog file is identical between archs
-- 
GitLab