diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index f240578..7e42fcc 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -77,6 +77,8 @@ function run_restore() { info "Resetting to remote state..." git reset --hard FETCH_HEAD + + [[ -z $CHOWN_UID ]] || chown -R ${CHOWN_UID}:${CHOWN_GID} . } function run_sync() {