diff options
Diffstat (limited to 'security/audit-packages')
-rw-r--r-- | security/audit-packages/files/download-vulnerability-list | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/security/audit-packages/files/download-vulnerability-list b/security/audit-packages/files/download-vulnerability-list index ef2e8372089..3ce13ae10ab 100644 --- a/security/audit-packages/files/download-vulnerability-list +++ b/security/audit-packages/files/download-vulnerability-list @@ -1,6 +1,6 @@ #! @SH@ -# $NetBSD: download-vulnerability-list,v 1.24 2004/04/14 09:04:15 wiz Exp $ +# $NetBSD: download-vulnerability-list,v 1.25 2004/10/29 10:45:45 grant Exp $ # # Copyright (c) 2000-2003 Alistair Crooks. All rights reserved. # @@ -35,7 +35,7 @@ : ${PKGVULNDIR=@PKGVULNDIR@} -if [ ! -e ${PKGVULNDIR} ]; then +if [ ! -d ${PKGVULNDIR}/. ]; then echo "Creating ${PKGVULNDIR}" @MKDIR@ ${PKGVULNDIR} || (echo "Can't create ${PKGVULNDIR}" 1>&2; exit 1) fi @@ -62,8 +62,7 @@ case "$utility" in esac # see if we got a file -if [ ! -f "${NEW_VUL_LIST}" ] -then +if [ ! -f "${NEW_VUL_LIST}" ]; then echo "***WARNING*** Download of vulnerabilities file failed" 1>&2 exit 1 fi |