Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/univention-app.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2017-09-20 00:15:25 +0300
committerArthur Schiwon <blizzz@arthur-schiwon.de>2017-09-26 02:18:53 +0300
commit9ea0c82e46cf369274c32b0b5aa6e53193ad6377 (patch)
treeb35fe069d01032e663f63c1322c63838875d52f0 /setup
parente24a6d261f4a44c14579afac5980432b89cd3692 (diff)
prepare 12.0.3 release12.0.3
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'setup')
-rw-r--r--setup13
1 files changed, 12 insertions, 1 deletions
diff --git a/setup b/setup
index 5032ecf..796fa2d 100644
--- a/setup
+++ b/setup
@@ -87,7 +87,7 @@ if [ "$NC_IS_UPGRADE" -eq 0 ] ; then
$OCC app:enable user_ldap
$OCC app:disable updatenotification
- if [ $NC_APPLIANCE = true ]; then
+ if [ "$NC_APPLIANCE" = true ]; then
# Heads up: in Nc 13 we will have occ app:install <appid>
EXTRA_APP_URLS=(\
https://download.nextcloud.com/server/apps/zenodo-0.9.3.tar.gz \
@@ -146,4 +146,15 @@ for HOST_IP in "${NC_HOST_IPS[@]}" ; do
NC_TRUSTED_DOMAIN_NO=$(($NC_TRUSTED_DOMAIN_NO+1))
done
+# env var is set from the dockerfile
+if [ "$NC_IS_PATCHED" = true ]; then
+ $OCC config:system:set integrity.check.disabled --value="true" --type=boolean
+ # (un)comment and adjust following line depending on the use case,
+ # otherwise a warning is shown, still
+ $OCC integrity:check-app user_ldap
+
+ # integrity checks are done once on upgrade case, thus we can directly remove the flag again
+ $OCC config:system:delete integrity.check.disabled
+fi
+
echo "*/15 * * * * www-data php -f /var/www/html/cron.php" > /etc/cron.d/nextcloud