summaryrefslogtreecommitdiffstats
path: root/etc/periodic
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2001-01-02 15:17:59 +0000
committerbrian <brian@FreeBSD.org>2001-01-02 15:17:59 +0000
commit5920344071d2123f9a1924df18f435b720aa9998 (patch)
tree8d58fb920b6b119c5d50bcc2ae2014b90d9bbea7 /etc/periodic
parent3e7ec8ed402fca35161589100b7de09f23bd21ce (diff)
downloadFreeBSD-src-5920344071d2123f9a1924df18f435b720aa9998.zip
FreeBSD-src-5920344071d2123f9a1924df18f435b720aa9998.tar.gz
Cope with ports that have multiple versions *and* have embedded ``-''s
in their name.
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 3bbe03f..e9bd5d0 100755
--- a/etc/periodic/weekly/400.status-pkg
+++ b/etc/periodic/weekly/400.status-pkg
@@ -18,7 +18,7 @@ case "$weekly_status_pkg_enable" in
rc=$(pkg_version -v |
sed -n -e 's/^\([^ ]*\) *< */ \1 /p' \
- -e '/^[^-]*-\([^ ]*\) *\* *multiple versions.*[ ,]\1[,)].*/d' \
+ -e '/^[^ ]*-\([^ ]*\) *\* *multiple versions.*[ ,]\1[,)].*/d' \
-e 's/^\([^ ]*\) *\* *multiple versions.*\((.*\)/ \1 needs updating \2/p' |
tee /dev/stderr |
wc -l)
OpenPOWER on IntegriCloud