style: normalize whitespace and line endings across shell scripts
Clean up inconsistent whitespace formatting in: - lib/arduino.sh - install.sh - lib/packages.sh
This commit is contained in:
@@ -19,7 +19,7 @@ source "$SCRIPT_DIR/lib/common.sh"
|
|||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo " ╔═══════════════════════════════════════╗"
|
echo " ╔═══════════════════════════════════════╗"
|
||||||
echo " ║ ⚡ Archduino Bootstrap ⚡ ║"
|
echo " ║ ⚡ Archduino Bootstrap ⚡ ║"
|
||||||
echo " ║ TUI Arduino Dev Environment Setup ║"
|
echo " ║ TUI Arduino Dev Environment Setup ║"
|
||||||
echo " ╚═══════════════════════════════════════╝"
|
echo " ╚═══════════════════════════════════════╝"
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
@@ -16,6 +16,9 @@ info "Arduino CLI installed: $(arduino-cli version 2>/dev/null | head -1)"
|
|||||||
|
|
||||||
arduino-cli config init 2>/dev/null || true
|
arduino-cli config init 2>/dev/null || true
|
||||||
|
|
||||||
|
# Allow insecure TLS for environments with broken/missing CA certs
|
||||||
|
arduino-cli config set network.insecure true 2>/dev/null || true
|
||||||
|
|
||||||
# Add ESP board manager URLs
|
# Add ESP board manager URLs
|
||||||
arduino-cli config add board_manager.additional_urls \
|
arduino-cli config add board_manager.additional_urls \
|
||||||
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json 2>/dev/null || true
|
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json 2>/dev/null || true
|
||||||
|
|||||||
@@ -20,4 +20,7 @@ else
|
|||||||
# fd is named differently on Ubuntu
|
# fd is named differently on Ubuntu
|
||||||
sudo apt install -y fd-find 2>/dev/null || true
|
sudo apt install -y fd-find 2>/dev/null || true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Rebuild certificate store so Go/curl pick up system CAs
|
||||||
|
sudo update-ca-certificates 2>/dev/null || true
|
||||||
info "Base packages installed"
|
info "Base packages installed"
|
||||||
|
|||||||
Reference in New Issue
Block a user