From ee8208ee7edd693b9961a671fd57fd4f480e6649 Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Sun, 30 Dec 2018 21:24:41 +0100 Subject: [PATCH] fix path (#752) --- apps/collabora.sh | 4 ++-- apps/onlyoffice.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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