summaryrefslogtreecommitdiffstats
path: root/bin/gen-DSA
diff options
context:
space:
mode:
authorRaphael Geissert <geissert@debian.org>2012-09-15 00:27:05 +0000
committerRaphael Geissert <geissert@debian.org>2012-09-15 00:27:05 +0000
commit33a70c1a46d9a39ecf50cbf14c75285ad8c9ee7f (patch)
treecda389c217ededac2f5cf621c718205f4f4e6922 /bin/gen-DSA
parent2e9a7264eae6fe522707b80170ee52541cf21c95 (diff)
Fix the Subject automagically when releasing a regression update
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@20167 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'bin/gen-DSA')
-rwxr-xr-xbin/gen-DSA4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/gen-DSA b/bin/gen-DSA
index 94bb77289b..ab2f805feb 100755
--- a/bin/gen-DSA
+++ b/bin/gen-DSA
@@ -174,6 +174,10 @@ done
tmpf=$(mktemp)
cat doc/DSA.template > $tmpf
+if [ "$VULNERABILITY" = regression ]; then
+ sed -ri '/^Subject:/s/security update$/regression update/' $tmpf
+fi
+
name_length=${#DEBFULLNAME}
spacing=$((24-$name_length))
SPACEDDEBFULLNAME="$DEBFULLNAME"

© 2014-2024 Faster IT GmbH | imprint | privacy policy