1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

[fix] Ensure that UpdateNotification app is disabled

This commit is contained in:
Jérôme Lebleu 2016-08-28 21:57:29 +02:00
parent 780d925e26
commit afcdf6e47e
2 changed files with 6 additions and 0 deletions

View file

@ -106,6 +106,9 @@ _exec_occ maintenance:install \
--data-dir "$DATADIR" \
|| ynh_die "Unable to install Nextcloud"
# Ensure that UpdateNotification app is disabled
_exec_occ app:disable updatenotification
# Enable plugins and set Nextcloud configuration
_exec_occ app:enable user_ldap
_exec_occ ldap:create-empty-config

View file

@ -149,6 +149,9 @@ _exec_occ maintenance:mode --off
_exec_occ upgrade \
|| ([[ $? -eq 3 ]] || ynh_die "Unable to upgrade Nextcloud")
# Ensure that UpdateNotification app is disabled
_exec_occ app:disable updatenotification
# Enable plugins and set Nextcloud configuration
_exec_occ app:enable user_ldap
_exec_occ config:import "$nc_conf"