From bc0ef2daa8860dc2090dd9463501d67ca5b9fbe2 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 27 Aug 2005 17:07:18 +0000 Subject: Moved programs into bin directory so data can be auto-updated w/o opening any potential holes for committers who lack access to the machine running the update. AKA my paranioa finally caught up to me. Didn't move DTSA still since it will be rewritten anyway. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@1672 e39458fd-73e7-0310-bf30-c45bca0a0e42 --- bin/update | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 bin/update (limited to 'bin/update') diff --git a/bin/update b/bin/update new file mode 100755 index 0000000000..3a464e9962 --- /dev/null +++ b/bin/update @@ -0,0 +1,20 @@ +#!/bin/sh +set -e + +if [ ! -d CVE ] || [ ! -d CAN ]; then + echo "run in data subdirectory" >&2 + exit 1 +fi + +cd CVE +rm -f full-cve.html +wget --quiet http://www.cve.mitre.org/cve/downloads/full-cve.html +../../bin/updatelist full-cve.html ../DSA/list ../DTSA/list list > list.new +mv -f list.new list +cd .. + +cd CAN +rm -f full-can.html +wget --quiet http://www.cve.mitre.org/cve/candidates/downloads/full-can.html +../../bin/updatelist full-can.html ../DSA/list ../DTSA/list list > list.new +mv -f list.new list -- cgit v1.2.3