From 9b3cfce76628855ea101feaf0470e269d0976ba8 Mon Sep 17 00:00:00 2001 From: James Downie Date: Sat, 29 Jun 2024 20:15:47 +1000 Subject: [PATCH] Setting the cloned bare repository to safe.directory. --- install-onlyoffice.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install-onlyoffice.sh b/install-onlyoffice.sh index cebb80343..295ed2a39 100755 --- a/install-onlyoffice.sh +++ b/install-onlyoffice.sh @@ -117,6 +117,8 @@ ensure_oo_is_downloaded () { echo "Downloading OnlyOffice..." git clone --bare https://github.com/cryptpad/onlyoffice-builds.git "$BUILDS_DIR" fi + git config --global --add safe.directory /cryptpad/onlyoffice-conf/onlyoffice-builds.git + } install_version () {