From abca1d8416a669fdb01e0be16f74d7bb6676a0ff Mon Sep 17 00:00:00 2001 From: Michele Marcucci Date: Thu, 21 Jul 2022 17:22:14 +0200 Subject: [PATCH] Added git safe.directory to update --- apolloui | 2 +- backend/update | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/apolloui b/apolloui index ab8f8dd..cea2556 160000 --- a/apolloui +++ b/apolloui @@ -1 +1 @@ -Subproject commit ab8f8dd5ee4201ed965d580e0b56221a462ebd1c +Subproject commit cea25568adc6475d3592d4771da233e8206dbc50 diff --git a/backend/update b/backend/update index 2e5d3a4..4b67d77 100755 --- a/backend/update +++ b/backend/update @@ -18,6 +18,9 @@ systemctl stop apollo-miner APOLLO_DIR=/opt/apolloapi +git config --global --add safe.directory $APOLLO_DIR +git config --global --add safe.directory $APOLLO_DIR/apolloui + chown -R futurebit $APOLLO_DIR echo "10" > $TMPFILE