1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 19:29:53 +03:00
aports/community/nextcloud31/disable-integrity-check-as-default.patch
2025-03-03 09:21:00 +00:00

23 lines
882 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.
---
lib/private/IntegrityCheck/Checker.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/private/IntegrityCheck/Checker.php b/lib/private/IntegrityCheck/Checker.php
index e8fd087e..cfbaeb7d 100644
--- a/lib/private/IntegrityCheck/Checker.php
+++ b/lib/private/IntegrityCheck/Checker.php
@@ -91,7 +91,7 @@ class Checker {
* applicable for very specific scenarios and we should not advertise it
* too prominent. So please do not add it to config.sample.php.
*/
- return !($this->config?->getSystemValueBool('integrity.check.disabled', false) ?? false);
+ return !($this->config?->getSystemValueBool('integrity.check.disabled', true) ?? true);
}
/**
--
2.44.0