mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-02-23 21:36:19 +08:00
Make sure to disable apps that could not get enabled after an update
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
78e7af4ae0
commit
0368ce7ef9
1 changed files with 1 additions and 0 deletions
|
@ -362,6 +362,7 @@ DATADIR_PERMISSION_CONF
|
|||
if [ "${APPSTORAGE[$app]}" != "no" ]; then
|
||||
echo "Enabling $app..."
|
||||
if ! php /var/www/html/occ app:enable "$app" >/dev/null; then
|
||||
php /var/www/html/occ app:disable "$app" >/dev/null
|
||||
echo "The $app app could not get enabled. Probably because it is not compatible with the new Nextcloud version."
|
||||
if [ "$app" = apporder ]; then
|
||||
CUSTOM_HINT="The apporder app was deprecated. A possible replacement is the side_menu app, aka 'Custom menu'."
|
||||
|
|
Loading…
Reference in a new issue