fix: installs

- skip docker setup
- no sudo in stow
- brew variables
- ssh logs
- node 20->22
This commit is contained in:
2025-05-19 23:09:17 +03:00
parent 82aa058ef5
commit 11e2bc95a7
5 changed files with 34 additions and 9 deletions

View File

@@ -11,6 +11,16 @@ if [[ -n "$WSL_DISTRO_NAME" ]]; then
export SKIP_DOCKER_CONFIG=1
fi
# skip if in CODESPACES
if [[ -n "$CODESPACES" ]]; then
export SKIP_DOCKER_CONFIG=1
fi
# skip on mac
if [[ "$OSTYPE" == "darwin"* ]]; then
export SKIP_DOCKER_CONFIG=1
fi
if [[ -z "$SKIP_DOCKER_CONFIG" ]]; then
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
if ! command -v docker &> /dev/null; then
@@ -43,4 +53,6 @@ if [[ -z "$SKIP_DOCKER_CONFIG" ]]; then
fi
fi
docker --version
else
echo "Skipping Docker configuration"
fi