Skip to content

Commit 0dcf6bb

Browse files
authored
Update install.sh
1 parent 65d50bf commit 0dcf6bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cargo-binstall/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ fi
1313

1414
dpkg -l | grep build-essential || (apt update && apt install build-essential -y -qq)
1515

16-
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
16+
cargo install cargo-binstall
1717

1818
if [ -z "${PACKAGES}" ]; then
1919
echo "No packages specified, and no upgrade required. Skip installation..."
2020
exit 0
2121
fi
2222

2323
umask 002
24-
cargo binstall -y --force --locked $CARGO_PACKAGES
24+
cargo binstall -y --force --locked $CARGO_PACKAGES

0 commit comments

Comments
 (0)