summaryrefslogtreecommitdiff
path: root/user/nextcloud/disable-integrity-check-as-default.patch
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2018-11-19 19:15:15 -0500
committerMax Rees <maxcrees@me.com>2018-11-19 19:15:15 -0500
commit020a30d93a101127fdd2f494026fc80c632ae728 (patch)
tree70afe4522257b7b7ef78329f2919f7b364e18d65 /user/nextcloud/disable-integrity-check-as-default.patch
parent3a06f7cc492260836cd9910e2509aec9f0ba3d54 (diff)
downloadpackages-020a30d93a101127fdd2f494026fc80c632ae728.tar.gz
packages-020a30d93a101127fdd2f494026fc80c632ae728.tar.bz2
packages-020a30d93a101127fdd2f494026fc80c632ae728.tar.xz
packages-020a30d93a101127fdd2f494026fc80c632ae728.zip
user/nextcloud: new package
Diffstat (limited to 'user/nextcloud/disable-integrity-check-as-default.patch')
-rw-r--r--user/nextcloud/disable-integrity-check-as-default.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/user/nextcloud/disable-integrity-check-as-default.patch b/user/nextcloud/disable-integrity-check-as-default.patch
new file mode 100644
index 000000000..54ea7a51e
--- /dev/null
+++ b/user/nextcloud/disable-integrity-check-as-default.patch
@@ -0,0 +1,15 @@
+We patch some files and Nextcloud's integrity check doesn't like it...
+APK ensures integrity of all installed files, so this Nextcloud's integrity
+check doesn't add any value.
+
+--- a/lib/private/IntegrityCheck/Checker.php
++++ b/lib/private/IntegrityCheck/Checker.php
+@@ -111,7 +111,7 @@
+ */
+ $isIntegrityCheckDisabled = false;
+ if ($this->config !== null) {
+- $isIntegrityCheckDisabled = $this->config->getSystemValue('integrity.check.disabled', false);
++ $isIntegrityCheckDisabled = $this->config->getSystemValue('integrity.check.disabled', true);
+ }
+ if ($isIntegrityCheckDisabled === true) {
+ return false;