[Secure-testing-commits] r23620 - bin

Raphael Geissert atomo64-guest at alioth.debian.org
Wed Sep 11 08:22:47 UTC 2013


Author: atomo64-guest
Date: 2013-09-11 08:22:44 +0000 (Wed, 11 Sep 2013)
New Revision: 23620

Modified:
   bin/gen-DSA
Log:
Automagically remove the dsa-needed entry when --save'ing a DSA



Modified: bin/gen-DSA
===================================================================
--- bin/gen-DSA	2013-09-11 07:43:33 UTC (rev 23619)
+++ bin/gen-DSA	2013-09-11 08:22:44 UTC (rev 23620)
@@ -346,5 +346,7 @@
     cat $dsa_entry data/DSA/list > $tmp_list
     cat $tmp_list > data/DSA/list
     rm -f $tmp_list
+    sed -rn '/^'"$PACKAGE"'\b/{: next;n;/^\s/b next;d};p' data/dsa-needed.txt > data/dsa-needed.txt.new
+    mv data/dsa-needed.txt.new data/dsa-needed.txt
     echo "DSA text written to ./DSA-$DSAID"
 fi




More information about the Secure-testing-commits mailing list