Netvisor: fix toolchain parsing

This commit is contained in:
vhsdream
2025-11-09 11:40:31 -05:00
parent 3f0cbf9242
commit 5da0f6b5cb
2 changed files with 2 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ msg_ok "Set up PostgreSQL Database"
fetch_and_deploy_gh_release "netvisor" "mayanayza/netvisor" "tarball" "latest" "/opt/netvisor"
TOOLCHAIN="$(grep "channel" /opt/netvisor/backend/rust-toolchain.toml | awk '{print $3}')"
TOOLCHAIN="$(grep "channel" /opt/netvisor/backend/rust-toolchain.toml | awk -F\" '{print $2}')"
RUST_TOOLCHAIN=$TOOLCHAIN setup_rust
msg_info "Creating frontend UI"