aports/community/nextcloud28/disable-integrity-check-as-default.patch

16 lines
627 B
Diff

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
@@ -116,7 +116,7 @@
*/
$isIntegrityCheckDisabled = false;
if ($this->config !== null) {
- $isIntegrityCheckDisabled = $this->config->getSystemValueBool('integrity.check.disabled', false);
+ $isIntegrityCheckDisabled = $this->config->getSystemValueBool('integrity.check.disabled', true);
}
if ($isIntegrityCheckDisabled) {
return false;