Recognize and support new output which pkg_version(1) might produce.
PR: 27707 Approved by: bmah, markm
This commit is contained in:
parent
1f38377a7b
commit
33ea028f0f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78111
@ -21,7 +21,8 @@ case "$weekly_status_pkg_enable" in
|
||||
-e '/^[^ ]*-\([^ ]*\) *\* *multiple versions.*[ ,]\1[,)].*/d' \
|
||||
-e 's/^\([^ ]*\) *\* *multiple versions.*\((.*\)/ \1 needs updating \2/p' \
|
||||
-e 's/^\(bsdpan-[^ ]*\) *? *unknown in index/ \1 may be outdated - check CPAN version manually/p' \
|
||||
-e 's/^\([^ ]*-[^ ]*\) *? *unknown in index/ \1 is obsolete/p' |
|
||||
-e 's/^\([^ ]*-[^ ]*\) *? *unknown in index/ \1 is obsolete/p' \
|
||||
-e 's/^\([^ ]*-[^ ]*\) *? *\(orphaned:.*\)$/ \1 was \2/p' |
|
||||
tee /dev/stderr |
|
||||
wc -l)
|
||||
[ $rc -gt 1 ] && rc=1;;
|
||||
|
Loading…
Reference in New Issue
Block a user