aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorJames E. Housley <jeh@FreeBSD.org>2004-07-20 00:15:00 +0000
committerJames E. Housley <jeh@FreeBSD.org>2004-07-20 00:15:00 +0000
commite212c432e7e274b5b09e1a4fe8580de7110cf4e0 (patch)
treecd53509fb49da85140e43a4cfd9facabe5d37a76 /security
parent230a664083762742f2e609912f39f9c2c12c66ed (diff)
Notes
Diffstat (limited to 'security')
-rw-r--r--security/uvscan-dat/files/update_dat4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/uvscan-dat/files/update_dat b/security/uvscan-dat/files/update_dat
index 3ffdd506a5a8..1d485a966e7c 100644
--- a/security/uvscan-dat/files/update_dat
+++ b/security/uvscan-dat/files/update_dat
@@ -3,8 +3,8 @@
# $Id$
#
cd /usr/local/libexec/uvscan/
-ftp http://download.nai.com/products/datfiles/4.x/nai/readme.txt >/dev/null
-AVVER=`grep DAT readme.txt | head -5 | grep '[^0-9]4[0-9][0-9][0-9][^0-9]' | head -1 | sed -e 's/^.*[^0-9]\(4[0-9]*\)[^0-9].*$/\1/'`
+ftp http://download.nai.com/products/datfiles/4.x/nai/update.ini >/dev/null
+AVVER=`grep DATVersion update.ini | head -1 | cut -f2 -d= | sed -e 's/^\(4[0-9]*\).$/\1/'`
if [ ! -f dat-$AVVER.tar ]; then
for i in *.tar ; do
mv $i $i.old