diff --git a/apps/collabora.sh b/apps/collabora.sh index ab70a69f..759953ae 100644 --- a/apps/collabora.sh +++ b/apps/collabora.sh @@ -85,10 +85,10 @@ install_docker docker_prune_this 'collabora/code' 'onlyoffice/documentserver' # Disable RichDocuments (Collabora App) if activated -if [ -d "$NCPATH"/apps/richdocuments ] +if [ -d "$NC_APPS_PATH"/richdocuments ] then occ_command app:disable richdocuments - rm -r "$NCPATH_APPS_PATH"/richdocuments + rm -r "$NC_APPS_PATH"/richdocuments fi # Install Collabora docker diff --git a/apps/onlyoffice.sh b/apps/onlyoffice.sh index 998e088b..d0155652 100644 --- a/apps/onlyoffice.sh +++ b/apps/onlyoffice.sh @@ -84,7 +84,7 @@ install_docker docker_prune_this 'collabora/code' 'onlyoffice/documentserver' # Disable Onlyoffice if activated -if [ -d "$NCPATH"/apps/onlyoffice ] +if [ -d "$NC_APPS_PATH"/onlyoffice ] then occ_command app:disable onlyoffice rm -r "$NC_APPS_PATH"/onlyoffice