chnage filse structure
This commit is contained in:
@ -18,18 +18,18 @@ REPO_NAME="Huntarr.io"
|
|||||||
|
|
||||||
msg_info "Installing Dependencies"
|
msg_info "Installing Dependencies"
|
||||||
$STD apt-get install -y jq
|
$STD apt-get install -y jq
|
||||||
msg_ok "Installed System Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
msg_info "Installing Python"
|
msg_info "Installing Python"
|
||||||
$STD apt-get install -y \
|
$STD apt-get install -y \
|
||||||
python3 \
|
python3 \
|
||||||
python3-venv
|
python3-venv
|
||||||
msg_ok "Installed Python"
|
|
||||||
|
|
||||||
msg_info "Setting Up ${APPLICATION}"
|
|
||||||
$STD bash -c "curl -LsSf https://astral.sh/uv/install.sh | sh"
|
$STD bash -c "curl -LsSf https://astral.sh/uv/install.sh | sh"
|
||||||
export PATH="/root/.local/bin:$HOME/.cargo/bin:$PATH"
|
export PATH="/root/.local/bin:$HOME/.cargo/bin:$PATH"
|
||||||
command -v uv &>/dev/null
|
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) }')
|
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 curl -fsSL -o "${RELEASE}.zip" "https://github.com/plexguide/Huntarr.io/archive/refs/tags/${RELEASE}.zip"
|
||||||
$STD unzip -q "${RELEASE}.zip"
|
$STD unzip -q "${RELEASE}.zip"
|
||||||
|
|||||||
Reference in New Issue
Block a user