diff options
author | Renato Botelho <renato@netgate.com> | 2015-09-18 14:14:02 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-09-18 14:14:02 -0300 |
commit | 7ca93399381e75281b99129fa03c1343d06c9aea (patch) | |
tree | 670d3a86f5778e6dc732bd73d0bbae9b89ac76d9 /tools/scripts | |
parent | 1f5207bcd71ecf02e03420bd6eb5c0f23666693c (diff) | |
download | pfsense-7ca93399381e75281b99129fa03c1343d06c9aea.zip pfsense-7ca93399381e75281b99129fa03c1343d06c9aea.tar.gz |
Mark packages that have <noembedded> tag to conflict with pfSense-base-nanobsd
Diffstat (limited to 'tools/scripts')
-rwxr-xr-x | tools/scripts/update_package_pfPorts.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/scripts/update_package_pfPorts.php b/tools/scripts/update_package_pfPorts.php index 178a282..5bc911d 100755 --- a/tools/scripts/update_package_pfPorts.php +++ b/tools/scripts/update_package_pfPorts.php @@ -386,6 +386,9 @@ function create_port($pkg) { $makefile[] = $port_use; } } + if (isset($pkg['noembedded'])) { + $pkg['conflicts'] = $product_name . '-base-nanobsd-[0-9]*' . (isset($pkg['conflicts']) ? ' ' . $pkg['conflicts'] : ''); + } if (isset($pkg['conflicts']) && !empty($pkg['conflicts'])) { $makefile[] = ""; $makefile[] = "CONFLICTS=\t" . $port_name_prefix . $pkg['conflicts'] . '-[0-9]*'; |