diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2017-09-20 00:15:25 +0300 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2017-09-26 02:18:53 +0300 |
commit | 9ea0c82e46cf369274c32b0b5aa6e53193ad6377 (patch) | |
tree | b35fe069d01032e663f63c1322c63838875d52f0 /setup | |
parent | e24a6d261f4a44c14579afac5980432b89cd3692 (diff) |
prepare 12.0.3 release12.0.3
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'setup')
-rw-r--r-- | setup | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -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 |