aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/systempatches/patches.inc5
-rw-r--r--config/systempatches/systempatches.xml2
-rw-r--r--pkg_config.10.xml2
3 files changed, 7 insertions, 2 deletions
diff --git a/config/systempatches/patches.inc b/config/systempatches/patches.inc
index 92825799..1c6ea4ba 100644
--- a/config/systempatches/patches.inc
+++ b/config/systempatches/patches.inc
@@ -175,6 +175,11 @@ function is_github_url($url) {
function bootup_apply_patches() {
global $config;
+ if (!isset($config['installedpackages']['patches']['item']) ||
+ !is_array($config['installedpackages']['patches']['item'])) {
+ $config['installedpackages']['patches']['item'] = array();
+ }
+
$a_patches = &$config['installedpackages']['patches']['item'];
foreach ($a_patches as $patch) {
diff --git a/config/systempatches/systempatches.xml b/config/systempatches/systempatches.xml
index 61f3df84..01501df7 100644
--- a/config/systempatches/systempatches.xml
+++ b/config/systempatches/systempatches.xml
@@ -43,7 +43,7 @@
</copyright>
<description>System Patches applies patches supplied by the user to the firewall.</description>
<name>System Patches</name>
- <version>1.0.6</version>
+ <version>1.0.8</version>
<title>System: Patches</title>
<include_file>/usr/local/pkg/patches.inc</include_file>
<menu>
diff --git a/pkg_config.10.xml b/pkg_config.10.xml
index 5904697b..78b56b5b 100644
--- a/pkg_config.10.xml
+++ b/pkg_config.10.xml
@@ -1437,7 +1437,7 @@
<internal_name>System_Patches</internal_name>
<descr>A package to apply and maintain custom system patches.</descr>
<maintainer>jimp@pfsense.org</maintainer>
- <version>1.0.7</version>
+ <version>1.0.8</version>
<category>System</category>
<status>RELEASE</status>
<config_file>https://packages.pfsense.org/packages/config/systempatches/systempatches.xml</config_file>