From d9466f4902f74695441cce5753a83ed55786248b Mon Sep 17 00:00:00 2001 From: Ruben Rodriguez <ruben@trisquel.info> Date: Thu, 30 Jul 2015 11:27:46 -0500 Subject: [PATCH] Tag security packages in the changelog entry --- helpers/config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/helpers/config b/helpers/config index eae3c07e..ee0143b9 100755 --- a/helpers/config +++ b/helpers/config @@ -52,7 +52,8 @@ replace(){ find $3 -type f -not -iregex '.*changelog.*' -not -iregex '.*copyright.*' -execdir /bin/sed --follow-symlinks -i s^"$1"^"$2"^g {} \; } changelog(){ -echo | dch -D $CODENAME -v $(/bin/sed -n '1s/^.*(\(.*\)).*/\1'+${REVISION}trisquel${VERSION}'/p' debian/changelog) "$1" +head -n 1 debian/changelog | grep -q $UPSTREAM-security && REPO=$CODENAME-security || REPO=$CODENAME +echo | dch -D $REPO -v $(/bin/sed -n '1s/^.*(\(.*\)).*/\1'+${REVISION}trisquel${VERSION}'/p' debian/changelog) "$1" # Make sure the changelog file is identical between archs /bin/sed "/-- Trisquel/s/.*/ -- Trisquel GNU\/Linux developers <trisquel-devel@listas.trisquel.info> $DATE/" -i debian/changelog -- GitLab