From 4d8e42307075dddc96fc8e67fa90b84e90cadc85 Mon Sep 17 00:00:00 2001 From: Jerry Chae Date: Thu, 14 May 2026 11:01:54 +0900 Subject: [PATCH] =?UTF-8?q?install-pi=20npm=20OS=20=EB=B3=80=EC=88=98=20?= =?UTF-8?q?=EC=98=A4=EB=A5=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install-pi.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/install-pi.sh b/install-pi.sh index 13c60c7..c8b457c 100755 --- a/install-pi.sh +++ b/install-pi.sh @@ -70,6 +70,12 @@ ensure_brew() { success "Homebrew installed" } +# ──────────────────────────────────────────── +# Detect OS / Architecture +# ──────────────────────────────────────────── +OS="$(uname -s)" +ARCH="$(uname -m)" + # ──────────────────────────────────────────── # Check required commands # ──────────────────────────────────────────── @@ -120,11 +126,8 @@ fi info "npm is available: $(command -v npm)" # ──────────────────────────────────────────── -# Detect OS / Architecture +# Detect OS / Architecture (already set above) # ──────────────────────────────────────────── -OS="$(uname -s)" -ARCH="$(uname -m)" - case "$OS" in Darwin | Linux) ;; *)