From 733608ccbbeba83aefd4f17fcaa7ffbbcd799b55 Mon Sep 17 00:00:00 2001 From: Wolfgang Ginolas Date: Tue, 13 May 2025 16:09:00 +0200 Subject: [PATCH] Clean OnlyOffice environment before installing https://github.com/cryptpad/cryptpad/issues/1777 --- install-onlyoffice.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install-onlyoffice.sh b/install-onlyoffice.sh index c688bc430..ef5a40d66 100755 --- a/install-onlyoffice.sh +++ b/install-onlyoffice.sh @@ -15,6 +15,10 @@ PROPS_FILE="$CONF_DIR"/onlyoffice.properties declare -A PROPS main() { + + # clean build env in case a previous build has failed + rm -rf "$BUILDS_DIR" + mkdir -p "$CONF_DIR" load_props