diff options
author | Anton Berezin <tobez@FreeBSD.org> | 2001-06-11 21:31:50 +0000 |
---|---|---|
committer | Anton Berezin <tobez@FreeBSD.org> | 2001-06-11 21:31:50 +0000 |
commit | 33ea028f0f50791fe97f66bf10455449a23db94b (patch) | |
tree | 0f596543ce3f32a5f4398fe64c363f359c8cf83c /etc/periodic/weekly | |
parent | 1f38377a7b8f56a950e2fa82b9e5ade313607ef1 (diff) | |
download | src-33ea028f0f50791fe97f66bf10455449a23db94b.tar.gz src-33ea028f0f50791fe97f66bf10455449a23db94b.zip |
Recognize and support new output which pkg_version(1) might produce.
PR: 27707
Approved by: bmah, markm
Notes
Notes:
svn path=/head/; revision=78111
Diffstat (limited to 'etc/periodic/weekly')
-rwxr-xr-x | etc/periodic/weekly/400.status-pkg | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/periodic/weekly/400.status-pkg b/etc/periodic/weekly/400.status-pkg index 1a1d526cce54..aac1d6a5cee1 100755 --- a/etc/periodic/weekly/400.status-pkg +++ b/etc/periodic/weekly/400.status-pkg @@ -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;; |