From 0e6a4038e92ea32b95c323ae163a56fd282e498c Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Tue, 27 May 2025 13:43:55 +0200 Subject: [PATCH] Update linkwarden.sh --- ct/linkwarden.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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