Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc only announce fetching vulnerabilities file if we do.
details: https://anonhg.NetBSD.org/src/rev/46cc8f8bc3ba
branches: trunk
changeset: 780681:46cc8f8bc3ba
user: christos <christos%NetBSD.org@localhost>
date: Fri Aug 03 10:52:46 2012 +0000
description:
only announce fetching vulnerabilities file if we do.
diffstat:
etc/daily | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r fbca6591d9df -r 46cc8f8bc3ba etc/daily
--- a/etc/daily Fri Aug 03 09:11:31 2012 +0000
+++ b/etc/daily Fri Aug 03 10:52:46 2012 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: daily,v 1.85 2012/07/31 09:23:09 christos Exp $
+# $NetBSD: daily,v 1.86 2012/08/03 10:52:46 christos Exp $
# @(#)daily 8.2 (Berkeley) 1/25/94
#
@@ -258,13 +258,13 @@
fi
if pkg_info ${_compat_K_flag} -q -E '*'; then
- echo ""
- echo "Fetching package vulnerabilities database:"
if [ -z "fetch_pkg_vulnerabilities" ]; then
echo "fetch_pkg_vulnerabilities is not set in daily.conf(5)."
echo "You should set it to YES to enable vulnerability checks"
echo "or set it to NO to get rid of this warning."
elif checkyesno fetch_pkg_vulnerabilities; then
+ echo ""
+ echo "Fetching package vulnerabilities database:"
( umask 022 && pkg_admin ${_compat_K_flag} \
fetch-pkg-vulnerabilities -u )
fi
Home |
Main Index |
Thread Index |
Old Index