Recognize and support new output which pkg_version(1) might produce.
PR: 27707 Approved by: bmah, markm
This commit is contained in:
parent
7cdb2bf78a
commit
dc2cdca9ea
@ -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