mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue