refactor: replace curl with wget for Bun installation script

This commit is contained in:
Paul M 2025-07-14 20:37:25 -05:00
parent 14451c667a
commit 5f89ccdd40

View file

@ -139,7 +139,9 @@ rm /tmp/nvm.sh
# Bun # Bun
echo "Installing Bun..." echo "Installing Bun..."
sudo -Hu "$SUDO_USER" curl -fsSL https://bun.sh/install | bash || { echo "Bun install failed" >&2; exit 1; } sudo -u "$SUDO_USER" wget -O /tmp/bun.sh https://bun.sh/install
sudo -Hu "$SUDO_USER" bash /tmp/bun.sh
rm /tmp/bun.sh
# Joplin # Joplin
sudo -u "$SUDO_USER" wget -O /tmp/joplin_install.sh https://raw.githubusercontent.com/laurent22/joplin/dev/Joplin_install_and_update.sh sudo -u "$SUDO_USER" wget -O /tmp/joplin_install.sh https://raw.githubusercontent.com/laurent22/joplin/dev/Joplin_install_and_update.sh