mirror of
https://github.com/nextcloud/server.git
synced 2026-04-20 22:00:39 -04:00
Move git safe.directory to earlier stage
Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
parent
dfa8a8c946
commit
3f69e1232d
1 changed files with 5 additions and 4 deletions
|
|
@ -2,15 +2,16 @@
|
|||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../" >/dev/null 2>&1 && pwd )"
|
||||
|
||||
cd $DIR/
|
||||
git submodule update --init
|
||||
|
||||
# Codespace config
|
||||
cp .devcontainer/codespace.config.php config/codespace.config.php
|
||||
|
||||
# Set git safe.directory
|
||||
git config --global --add safe.directory /var/www/html
|
||||
git config --global --add safe.directory /var/www/html/3rdparty
|
||||
|
||||
git submodule update --init
|
||||
|
||||
# Codespace config
|
||||
cp .devcontainer/codespace.config.php config/codespace.config.php
|
||||
|
||||
# Onetime installation setup
|
||||
if [[ ! $(sudo -u ${APACHE_RUN_USER} php occ status) =~ installed:[[:space:]]*true ]]; then
|
||||
echo "Running NC installation"
|
||||
|
|
|
|||
Loading…
Reference in a new issue