summaryrefslogtreecommitdiffstats
path: root/etc/periodic
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2004-05-19 09:18:08 +0000
committerjoe <joe@FreeBSD.org>2004-05-19 09:18:08 +0000
commit1251c94abcf1a2481b07a8807fbbc8203ff3053a (patch)
tree0aef63e07aa9b2cddb1c4cbaa694470d1a728e2e /etc/periodic
parent88ad88a7b3084a4cfd996e18ca959e2de90d3454 (diff)
downloadFreeBSD-src-1251c94abcf1a2481b07a8807fbbc8203ff3053a.zip
FreeBSD-src-1251c94abcf1a2481b07a8807fbbc8203ff3053a.tar.gz
Allow the location of the INDEX file to specified to pkg_version.
This is particularly convenient on a cluster of machines to prevent having to rebuild the INDEX file on each. Reviewed by: portmgr
Diffstat (limited to 'etc/periodic')
-rwxr-xr-xetc/periodic/weekly/400.status-pkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/periodic/weekly/400.status-pkg b/etc/periodic/weekly/400.status-pkg
index 2fb4aa6..785c2ff 100755
--- a/etc/periodic/weekly/400.status-pkg
+++ b/etc/periodic/weekly/400.status-pkg
@@ -16,7 +16,7 @@ case "$weekly_status_pkg_enable" in
echo ""
echo "Check for out of date packages:"
- rc=$(${pkg_version:-pkg_version} -v |
+ rc=$(${pkg_version:-pkg_version} -v ${pkg_version_index} |
sed -n -e 's/^\([^ ]*\) *< */ \1 /p' \
-e '/^[^ ]*-\([^ ]*\) *\* *multiple versions.*[ ,]\1[,)].*/d' \
-e 's/^\([^ ]*\) *\* *multiple versions.*\((.*\)/ \1 needs updating \2/p' \
OpenPOWER on IntegriCloud