forked from forkanization/Proxmox-arm64
[Wastebin] Fix Rust install
This commit is contained in:
@@ -27,10 +27,12 @@ $STD apt-get install -y --no-install-recommends \
|
||||
wget
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Installing Rust (Patience)"
|
||||
msg_info "Installing Rust"
|
||||
$STD bash <(curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs) -y
|
||||
source ~/.cargo/env
|
||||
msg_ok "Installed Rust"
|
||||
echo 'export PATH=~/.cargo/bin:$PATH' >>~/.bashrc
|
||||
export PATH=~/.cargo/bin:$PATH
|
||||
rm index.html
|
||||
msg_ok "Installed Rust"
|
||||
|
||||
msg_info "Installing Wastebin (Patience)"
|
||||
RELEASE=$(curl -s https://api.github.com/repos/matze/wastebin/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
|
||||
|
||||
Reference in New Issue
Block a user