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:
parent
780d925e26
commit
afcdf6e47e
2 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue