From afcdf6e47e4df192780e9d22274ecb12ee87ea53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lebleu?= Date: Sun, 28 Aug 2016 21:57:29 +0200 Subject: [PATCH] [fix] Ensure that UpdateNotification app is disabled --- scripts/install | 3 +++ scripts/upgrade | 3 +++ 2 files changed, 6 insertions(+) diff --git a/scripts/install b/scripts/install index 5bb2286..035731f 100755 --- a/scripts/install +++ b/scripts/install @@ -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 diff --git a/scripts/upgrade b/scripts/upgrade index 855f3b7..bed84c6 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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"