diff options
author | James E. Housley <jeh@FreeBSD.org> | 2002-05-04 01:00:21 +0000 |
---|---|---|
committer | James E. Housley <jeh@FreeBSD.org> | 2002-05-04 01:00:21 +0000 |
commit | 68fc467fd6af4262efa004bf61a651bd659fe278 (patch) | |
tree | d9c3eb9f5687b5b8af678d0ba30b12aff729822f /security/uvscan-dat/files/update_dat | |
parent | a47a306c728f033e2f3a27ba1fc17be4c0bc4060 (diff) |
Notes
Diffstat (limited to 'security/uvscan-dat/files/update_dat')
-rw-r--r-- | security/uvscan-dat/files/update_dat | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/uvscan-dat/files/update_dat b/security/uvscan-dat/files/update_dat index 360e09501089..3ffdd506a5a8 100644 --- a/security/uvscan-dat/files/update_dat +++ b/security/uvscan-dat/files/update_dat @@ -2,9 +2,9 @@ # # $Id$ # -cd @PREFIX@/libexec/uvscan/ +cd /usr/local/libexec/uvscan/ ftp http://download.nai.com/products/datfiles/4.x/nai/readme.txt >/dev/null -AVVER=`head -5 readme.txt | grep ' 4[0-9][0-9][0-9] ' | head -1 | sed -e 's/^.* \(4[0-9]*\) .*$/\1/'` +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/'` if [ ! -f dat-$AVVER.tar ]; then for i in *.tar ; do mv $i $i.old |