diff --git a/bootstrap.sh b/bootstrap.sh index ac577d4..2b8f820 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -320,7 +320,9 @@ step "7/9 — Installing Arduino CLI + board cores" if ! command -v arduino-cli &>/dev/null; then if $IS_ARCH then; $PKG_INSTALL arduino-cli - curl -kfsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=/usr/local/bin sudo sh + else + curl -kfsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=/usr/local/bin sudo sh + fi fi info "Arduino CLI installed: $(arduino-cli version 2>/dev/null | head -1)"