aboutsummaryrefslogtreecommitdiffstats
path: root/community/nextcloud/disable-integrity-check-as-default.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/nextcloud/disable-integrity-check-as-default.patch')
-rw-r--r--community/nextcloud/disable-integrity-check-as-default.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/community/nextcloud/disable-integrity-check-as-default.patch b/community/nextcloud/disable-integrity-check-as-default.patch
new file mode 100644
index 0000000000..87108c600a
--- /dev/null
+++ b/community/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
+@@ -109,7 +109,7 @@ class Checker {
+ * too prominent. So please do not add it to config.sample.php.
+ */
+ if ($this->config !== null) {
+- $isIntegrityCheckDisabled = $this->config->getSystemValue('integrity.check.disabled', false);
++ $isIntegrityCheckDisabled = $this->config->getSystemValue('integrity.check.disabled', true);
+ } else {
+ $isIntegrityCheckDisabled = false;
+ }