diff options
author | Raphael Geissert <geissert@debian.org> | 2012-09-15 00:27:05 +0000 |
---|---|---|
committer | Raphael Geissert <geissert@debian.org> | 2012-09-15 00:27:05 +0000 |
commit | 172d24130ecd2cd8c51d80f1160238f5d17ab085 (patch) | |
tree | a3fdfd2ca78f28b076bd9da20b8dd2374bc12a41 /bin/gen-DSA | |
parent | 7ca41bd3d22aa94ed409e2b9e265a69cd0730678 (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-x | bin/gen-DSA | 4 |
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" |