change huntarr url api
This commit is contained in:
@ -21,8 +21,13 @@ msg_info "Installing Huntarr"
|
||||
temp_file="$(mktemp)"
|
||||
mkdir -p /var/lib/huntarr/
|
||||
chmod 775 /var/lib/huntarr/
|
||||
RELEASE=$(curl -fsSL https://api.github.com/repos/huntarr/huntarr/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
|
||||
curl -fsSL "https://github.com/huntarr/huntarr/archive/refs/tags/${RELEASE}.tar.gz" -o "$temp_file"
|
||||
|
||||
# Korrekte API-URL für Huntarr.io (plexguide/Huntarr.io)
|
||||
RELEASE=$(curl -fsSL https://api.github.com/repos/plexguide/Huntarr.io/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
|
||||
|
||||
# Download der neuesten Version (angepasste URL)
|
||||
curl -fsSL "https://github.com/plexguide/Huntarr.io/archive/refs/tags/${RELEASE}.tar.gz" -o "$temp_file"
|
||||
|
||||
$STD mkdir -p /opt/huntarr
|
||||
$STD tar -xzf "$temp_file" -C /opt/huntarr --strip-components=1
|
||||
cd /opt/huntarr
|
||||
|
||||
Reference in New Issue
Block a user