diff --git a/ct/linkwarden.sh b/ct/linkwarden.sh index 28224f6..4e652db 100644 --- a/ct/linkwarden.sh +++ b/ct/linkwarden.sh @@ -33,14 +33,7 @@ function update_script() { systemctl stop linkwarden msg_ok "Stopped ${APP}" - msg_info "Updating Rust" - $STD apt-get install -y build-essential - $STD curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - source $HOME/.cargo/env - echo 'export PATH=/usr/local/cargo/bin:$PATH' >>/etc/profile - source /etc/profile - $STD cargo install monolith - msg_ok "Updated Rust" + RUST_CRATES="monolith" install_rust_and_crates msg_info "Updating ${APP} to ${RELEASE}" mv /opt/linkwarden/.env /opt/.env