1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-04-19 01:38:07 +00:00

switch arr lxc's (lidarr,-prowlarr,-radarr,-readarr,-whisparr) to curl -fsSL (#3554)

* switch

* fix sonarr double escaped

* fix 3 other double escaped
This commit is contained in:
CanbiZ 2025-04-01 12:05:32 +02:00 committed by GitHub
parent 508a771b67
commit 1096662d81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 21 additions and 16 deletions

View File

@ -29,7 +29,7 @@ function update_script() {
fi fi
msg_info "Updating $APP v4" msg_info "Updating $APP v4"
systemctl stop sonarr.service systemctl stop sonarr.service
curl -fsSL "'https://services.sonarr.tv/v1/download/main/latest?version=4&os=linux&arch=x64'" -o "SonarrV4.tar.gz" curl -fsSL "https://services.sonarr.tv/v1/download/main/latest?version=4&os=linux&arch=x64" -o "SonarrV4.tar.gz"
tar -xzf SonarrV4.tar.gz tar -xzf SonarrV4.tar.gz
rm -rf /opt/Sonarr rm -rf /opt/Sonarr
mv Sonarr /opt mv Sonarr /opt
@ -46,4 +46,4 @@ description
msg_ok "Completed Successfully!\n" msg_ok "Completed Successfully!\n"
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
echo -e "${INFO}${YW} Access it using the following URL:${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}"
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8989${CL}" echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8989${CL}"

View File

@ -29,7 +29,7 @@ function update_script() {
fi fi
msg_info "Updating $APP" msg_info "Updating $APP"
systemctl stop threadfin.service systemctl stop threadfin.service
curl -fsSL "'https://github.com/Threadfin/Threadfin/releases/latest/download/Threadfin_linux_amd64'" -o "/opt/threadfin/threadfin" curl -fsSL "https://github.com/Threadfin/Threadfin/releases/latest/download/Threadfin_linux_amd64" -o "/opt/threadfin/threadfin"
chmod +x /opt/threadfin/threadfin chmod +x /opt/threadfin/threadfin
systemctl start threadfin.service systemctl start threadfin.service
msg_ok "Updated $APP" msg_ok "Updated $APP"
@ -43,4 +43,4 @@ description
msg_ok "Completed Successfully!\n" msg_ok "Completed Successfully!\n"
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
echo -e "${INFO}${YW} Access it using the following URL:${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}"
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:34400/web${CL}" echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:34400/web${CL}"

View File

@ -22,8 +22,9 @@ msg_ok "Installed Dependencies"
msg_info "Installing Lidarr" msg_info "Installing Lidarr"
mkdir -p /var/lib/lidarr/ mkdir -p /var/lib/lidarr/
chmod 775 /var/lib/lidarr/ chmod 775 /var/lib/lidarr/
$STD curl -fJL 'https://lidarr.servarr.com/v1/update/master/updatefile?os=linux&runtime=netcore&arch=x64' cd /var/lib/lidarr/
$STD tar -xvzf Lidarr.master.*.tar.gz $STD curl -fsSL 'https://lidarr.servarr.com/v1/update/master/updatefile?os=linux&runtime=netcore&arch=x64' -o lidarr.tar.gz
$STD tar -xvzf lidarr.tar.gz
mv Lidarr /opt mv Lidarr /opt
chmod 775 /opt/Lidarr chmod 775 /opt/Lidarr
msg_ok "Installed Lidarr" msg_ok "Installed Lidarr"

View File

@ -20,8 +20,9 @@ msg_ok "Installed Dependencies"
msg_info "Installing Prowlarr" msg_info "Installing Prowlarr"
mkdir -p /var/lib/prowlarr/ mkdir -p /var/lib/prowlarr/
chmod 775 /var/lib/prowlarr/ chmod 775 /var/lib/prowlarr/
$STD curl -fJL 'https://prowlarr.servarr.com/v1/update/master/updatefile?os=linux&runtime=netcore&arch=x64' cd /var/lib/prowlarr/
$STD tar -xvzf Prowlarr.master.*.tar.gz $STD curl -fsSL 'https://prowlarr.servarr.com/v1/update/master/updatefile?os=linux&runtime=netcore&arch=x64' -o prowlarr.tar.gz
$STD tar -xvzf prowlarr.tar.gz
mv Prowlarr /opt mv Prowlarr /opt
chmod 775 /opt/Prowlarr chmod 775 /opt/Prowlarr
msg_ok "Installed Prowlarr" msg_ok "Installed Prowlarr"

View File

@ -20,8 +20,9 @@ msg_ok "Installed Dependencies"
msg_info "Installing Radarr" msg_info "Installing Radarr"
mkdir -p /var/lib/radarr/ mkdir -p /var/lib/radarr/
chmod 775 /var/lib/radarr/ chmod 775 /var/lib/radarr/
$STD curl -fJL 'https://radarr.servarr.com/v1/update/master/updatefile?os=linux&runtime=netcore&arch=x64' cd /var/lib/radarr/
$STD tar -xvzf Radarr.master.*.tar.gz $STD curl -fsSL 'https://radarr.servarr.com/v1/update/master/updatefile?os=linux&runtime=netcore&arch=x64' -o radarr.tar.gz
$STD tar -xvzf radarr.tar.gz
mv Radarr /opt mv Radarr /opt
chmod 775 /opt/Radarr chmod 775 /opt/Radarr
msg_ok "Installed Radarr" msg_ok "Installed Radarr"

View File

@ -20,8 +20,9 @@ msg_ok "Installed Dependencies"
msg_info "Installing Readarr" msg_info "Installing Readarr"
mkdir -p /var/lib/readarr/ mkdir -p /var/lib/readarr/
chmod 775 /var/lib/readarr/ chmod 775 /var/lib/readarr/
$STD curl -fJL 'https://readarr.servarr.com/v1/update/develop/updatefile?os=linux&runtime=netcore&arch=x64' cd /var/lib/readarr/
$STD tar -xvzf Readarr.develop.*.tar.gz $STD curl -fsSL 'https://readarr.servarr.com/v1/update/develop/updatefile?os=linux&runtime=netcore&arch=x64' -o readarr.tar.gz
$STD tar -xvzf readarr.tar.gz
mv Readarr /opt mv Readarr /opt
chmod 775 /opt/Readarr chmod 775 /opt/Readarr
msg_ok "Installed Readarr" msg_ok "Installed Readarr"

View File

@ -20,7 +20,7 @@ msg_ok "Installed Dependencies"
msg_info "Installing Sonarr v4" msg_info "Installing Sonarr v4"
mkdir -p /var/lib/sonarr/ mkdir -p /var/lib/sonarr/
chmod 775 /var/lib/sonarr/ chmod 775 /var/lib/sonarr/
curl -fsSL "'https://services.sonarr.tv/v1/download/main/latest?version=4&os=linux&arch=x64'" -o "SonarrV4.tar.gz" curl -fsSL "https://services.sonarr.tv/v1/download/main/latest?version=4&os=linux&arch=x64" -o "SonarrV4.tar.gz"
tar -xzf SonarrV4.tar.gz tar -xzf SonarrV4.tar.gz
mv Sonarr /opt mv Sonarr /opt
rm -rf SonarrV4.tar.gz rm -rf SonarrV4.tar.gz

View File

@ -20,7 +20,7 @@ msg_ok "Installed Dependencies"
msg_info "Installing Threadfin" msg_info "Installing Threadfin"
mkdir -p /opt/threadfin mkdir -p /opt/threadfin
curl -fsSL "'https://github.com/Threadfin/Threadfin/releases/latest/download/Threadfin_linux_amd64'" -o "/opt/threadfin/threadfin" curl -fsSL "https://github.com/Threadfin/Threadfin/releases/latest/download/Threadfin_linux_amd64" -o "/opt/threadfin/threadfin"
chmod +x /opt/threadfin/threadfin chmod +x /opt/threadfin/threadfin
msg_ok "Installed Threadfin" msg_ok "Installed Threadfin"

View File

@ -20,8 +20,9 @@ msg_ok "Installed Dependencies"
msg_info "Installing Whisparr" msg_info "Installing Whisparr"
mkdir -p /var/lib/whisparr/ mkdir -p /var/lib/whisparr/
chmod 775 /var/lib/whisparr/ chmod 775 /var/lib/whisparr/
$STD curl -fJL 'https://whisparr.servarr.com/v1/update/nightly/updatefile?os=linux&runtime=netcore&arch=x64' cd /var/lib/whisparr/
$STD tar -xvzf Whisparr.develop.*.tar.gz $STD curl -fsSL 'https://whisparr.servarr.com/v1/update/nightly/updatefile?os=linux&runtime=netcore&arch=x64' -o whisparr.tar.gz
$STD tar -xvzf whisparr.tar.gz
mv Whisparr /opt mv Whisparr /opt
chmod 775 /opt/Whisparr chmod 775 /opt/Whisparr
msg_ok "Installed Whisparr" msg_ok "Installed Whisparr"