forked from mirrors/openup
Better regex to match merging packages.
This commit is contained in:
parent
b1ccd4ec66
commit
180f052be3
1 changed files with 3 additions and 2 deletions
5
openup
5
openup
|
|
@ -178,9 +178,10 @@ update_pkg() {
|
|||
check_vuxml() {
|
||||
local _OUTDATED
|
||||
|
||||
_OUTDATED=$(pkg_add -nuv -D nosig 2>/dev/null| grep Adding | \
|
||||
_OUTDATED=$(pkg_add -nuv -D nosig 2>/dev/null | \
|
||||
grep '(installing)(pretending)' | \
|
||||
sed -e 's,Adding ,,;s,(pretending),,;s,->.*,,' | \
|
||||
sort -u | perl -ne '/^(.*)-(\d[^-]*)[-]?(\w*)(.*)$/ && print "$1\n"')
|
||||
perl -ne '/^(.*)-(\d[^-]*)[-]?(\w*)(.*)$/ && print "$1\n"')
|
||||
|
||||
for p in ${_OUTDATED}
|
||||
do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue