refactor: replace curl with wget for Bun installation script
This commit is contained in:
parent
14451c667a
commit
5f89ccdd40
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue