aports/community/nextcloud/disable-integrity-check-as-default.patch
Jakub Jirutka 138270d908 community/nextcloud: disable integrity check as default
It's unnecessary, APK ensures integrity of all installed files, and
problematic (we need to patch some files).
2017-06-25 02:42:48 +02:00

16 lines
661 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
@@ -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;
}