diff --git a/install/huntarr-install.sh b/install/huntarr-install.sh index 695f7fc..732a354 100644 --- a/install/huntarr-install.sh +++ b/install/huntarr-install.sh @@ -18,18 +18,18 @@ REPO_NAME="Huntarr.io" msg_info "Installing Dependencies" $STD apt-get install -y jq -msg_ok "Installed System Dependencies" +msg_ok "Installed Dependencies" msg_info "Installing Python" $STD apt-get install -y \ python3 \ python3-venv -msg_ok "Installed Python" - -msg_info "Setting Up ${APPLICATION}" $STD bash -c "curl -LsSf https://astral.sh/uv/install.sh | sh" export PATH="/root/.local/bin:$HOME/.cargo/bin:$PATH" command -v uv &>/dev/null +msg_ok "Installed Python" + +msg_info "Setting Up ${APPLICATION}" RELEASE=$(curl -fsSL https://api.github.com/repos/plexguide/Huntarr.io/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') $STD curl -fsSL -o "${RELEASE}.zip" "https://github.com/plexguide/Huntarr.io/archive/refs/tags/${RELEASE}.zip" $STD unzip -q "${RELEASE}.zip"