mirror of
https://github.com/lucaspalomodevelop/opnsense-core.git
synced 2026-03-13 00:07:27 +00:00
firmware: use full plugin names now and make sure to zap whitespace; closes #7818
This commit is contained in:
parent
d1c7ed00ab
commit
8b7510a3a6
3
Makefile
3
Makefile
@ -199,6 +199,9 @@ CORE_DEPENDS?= ca_root_nss \
|
||||
CORE_CONFLICTS+= ${CONFLICT}-devel
|
||||
.endfor
|
||||
|
||||
# assume conflicts are just for plugins
|
||||
CORE_CONFLICTS:= ${CORE_CONFLICTS:S/^/os-/g:O}
|
||||
|
||||
WRKDIR?=${.CURDIR}/work
|
||||
WRKSRC?=${WRKDIR}/src
|
||||
PKGDIR?=${WRKDIR}/pkg
|
||||
|
||||
@ -112,7 +112,7 @@ function plugins_disk_get()
|
||||
}
|
||||
|
||||
if (!empty($ret['product_conflicts'])) {
|
||||
foreach (explode(' ', $ret['product_conflicts']) as $conflict) {
|
||||
foreach (preg_split('/\s+/', $ret['product_conflicts']) as $conflict) {
|
||||
$obsolete[$conflict] = "I'm not even here";
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user