diff options
author | Didier Raboud <odyx@debian.org> | 2014-07-31 08:30:43 +0000 |
---|---|---|
committer | Didier Raboud <odyx@debian.org> | 2014-07-31 08:30:43 +0000 |
commit | 9060e96c876ed762b797f75698de60bbc9c06189 (patch) | |
tree | bf34833f02b8f8db002bf93f895f87f86bbbc7e8 | |
parent | 1941f9869b276b3da7fc8f9cd272c2a6772febed (diff) |
Revert "Adapt bin/gen-DLA to let DLA's always read as DLA-####-#"
This reverts commit 43d595ff4bf909a5a1438e385426779dcc91d90b.
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@28012 e39458fd-73e7-0310-bf30-c45bca0a0e42
-rwxr-xr-x | bin/gen-DLA | 4 | ||||
-rw-r--r-- | doc/DLA.template | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/gen-DLA b/bin/gen-DLA index 1284847cc4..a2f57f09c9 100755 --- a/bin/gen-DLA +++ b/bin/gen-DLA @@ -222,10 +222,10 @@ fi if [ -z "$DLAID" ]; then latest_dla="$(sed -nr '/DLA-[0-9]+-1/{s/^.+DLA-[0]*([0-9]+).*$/\1/;p;q}' data/DLA/list)" - dla=$(printf '%04d' $(($latest_dla+1))) + dla=$(($latest_dla+1)) c=0 while dla_exists "$dla-1"; do - dla=$(printf '%04d' $(($dla+1))) + dla=$(($dla+1)) c=$(($c+1)) if [ $c -eq 10 ]; then error "unable to find an unused DLA id after $c attempts" >&2 diff --git a/doc/DLA.template b/doc/DLA.template index 07a15aa6dc..11199f25d7 100644 --- a/doc/DLA.template +++ b/doc/DLA.template @@ -1,6 +1,6 @@ From: $DEBFULLNAME <$DEBEMAIL> To: debian-lts-announce@lists.debian.org -Subject: [DLA-$DLAID] $PACKAGE security update +Subject: [DLA $DLAID] $PACKAGE security update Package : $PACKAGE Version : $squeeze_VERSION |