diff --git a/setup.sh b/setup.sh index f1e021d..e535216 100644 --- a/setup.sh +++ b/setup.sh @@ -39,7 +39,7 @@ fi # --- Unlock git-crypt via Bitwarden --- cd "$REPO_DIR" -if git-crypt status 2>/dev/null | grep -q '^\*\*\*ENCRYPTED\*\*\*'; then +if git-crypt status 2>/dev/null | grep -q ' encrypted:'; then echo "==> Fetching git-crypt key from Bitwarden..." echo " Log in to Bitwarden when prompted." if bw status 2>/dev/null | grep -q '"status":"unauthenticated"'; then @@ -87,9 +87,6 @@ chown -R deploy:deploy /home/deploy/.ssh echo "==> Making scripts executable..." chmod +x "$REPO_DIR/scripts/"*.sh -echo "==> Creating shared Docker network..." -docker network create shared 2>/dev/null || true - echo "==> Logging into Gitea registry..." echo "Run manually: docker login git.timothykim.net"