mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Allow - in distribution names. This is needed for freebsd-update to work
with 11.0+, where the debugging symbols use a new naming scheme for release distribution files. Errata candidate. Approved by: cperciva Differential Revision: https://reviews.freebsd.org/D7170
This commit is contained in:
parent
24b797cc1a
commit
823c0d5f5e
1 changed files with 1 additions and 1 deletions
|
|
@ -1250,7 +1250,7 @@ fetch_metadata_sanity () {
|
|||
|
||||
# Check that the first four fields make sense.
|
||||
if gunzip -c < files/$1.gz |
|
||||
grep -qvE "^[a-z]+\|[0-9a-z]+\|${P}+\|[fdL-]\|"; then
|
||||
grep -qvE "^[a-z]+\|[0-9a-z-]+\|${P}+\|[fdL-]\|"; then
|
||||
fetch_metadata_bogus ""
|
||||
return 1
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue