summaryrefslogtreecommitdiffstats
path: root/tools/scripts
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-09-18 14:14:02 -0300
committerRenato Botelho <renato@netgate.com>2015-09-18 14:14:02 -0300
commit7ca93399381e75281b99129fa03c1343d06c9aea (patch)
tree670d3a86f5778e6dc732bd73d0bbae9b89ac76d9 /tools/scripts
parent1f5207bcd71ecf02e03420bd6eb5c0f23666693c (diff)
downloadpfsense-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-xtools/scripts/update_package_pfPorts.php3
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]*';
OpenPOWER on IntegriCloud