Skip to content

Commit 1096662

Browse files
authored
switch arr lxc's (lidarr,-prowlarr,-radarr,-readarr,-whisparr) to curl -fsSL (#3554)
* switch * fix sonarr double escaped * fix 3 other double escaped
1 parent 508a771 commit 1096662

File tree

9 files changed

+21
-16
lines changed

9 files changed

+21
-16
lines changed

ct/sonarr.sh

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

ct/threadfin.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function update_script() {
2929
fi
3030
msg_info "Updating $APP"
3131
systemctl stop threadfin.service
32-
curl -fsSL "'https://github.com/Threadfin/Threadfin/releases/latest/download/Threadfin_linux_amd64'" -o "/opt/threadfin/threadfin"
32+
curl -fsSL "https://github.com/Threadfin/Threadfin/releases/latest/download/Threadfin_linux_amd64" -o "/opt/threadfin/threadfin"
3333
chmod +x /opt/threadfin/threadfin
3434
systemctl start threadfin.service
3535
msg_ok "Updated $APP"
@@ -43,4 +43,4 @@ description
4343
msg_ok "Completed Successfully!\n"
4444
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
4545
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
46-
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:34400/web${CL}"
46+
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:34400/web${CL}"

install/lidarr-install.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ msg_ok "Installed Dependencies"
2222
msg_info "Installing Lidarr"
2323
mkdir -p /var/lib/lidarr/
2424
chmod 775 /var/lib/lidarr/
25-
$STD curl -fJL 'https://lidarr.servarr.com/v1/update/master/updatefile?os=linux&runtime=netcore&arch=x64'
26-
$STD tar -xvzf Lidarr.master.*.tar.gz
25+
cd /var/lib/lidarr/
26+
$STD curl -fsSL 'https://lidarr.servarr.com/v1/update/master/updatefile?os=linux&runtime=netcore&arch=x64' -o lidarr.tar.gz
27+
$STD tar -xvzf lidarr.tar.gz
2728
mv Lidarr /opt
2829
chmod 775 /opt/Lidarr
2930
msg_ok "Installed Lidarr"

install/prowlarr-install.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ msg_ok "Installed Dependencies"
2020
msg_info "Installing Prowlarr"
2121
mkdir -p /var/lib/prowlarr/
2222
chmod 775 /var/lib/prowlarr/
23-
$STD curl -fJL 'https://prowlarr.servarr.com/v1/update/master/updatefile?os=linux&runtime=netcore&arch=x64'
24-
$STD tar -xvzf Prowlarr.master.*.tar.gz
23+
cd /var/lib/prowlarr/
24+
$STD curl -fsSL 'https://prowlarr.servarr.com/v1/update/master/updatefile?os=linux&runtime=netcore&arch=x64' -o prowlarr.tar.gz
25+
$STD tar -xvzf prowlarr.tar.gz
2526
mv Prowlarr /opt
2627
chmod 775 /opt/Prowlarr
2728
msg_ok "Installed Prowlarr"

install/radarr-install.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ msg_ok "Installed Dependencies"
2020
msg_info "Installing Radarr"
2121
mkdir -p /var/lib/radarr/
2222
chmod 775 /var/lib/radarr/
23-
$STD curl -fJL 'https://radarr.servarr.com/v1/update/master/updatefile?os=linux&runtime=netcore&arch=x64'
24-
$STD tar -xvzf Radarr.master.*.tar.gz
23+
cd /var/lib/radarr/
24+
$STD curl -fsSL 'https://radarr.servarr.com/v1/update/master/updatefile?os=linux&runtime=netcore&arch=x64' -o radarr.tar.gz
25+
$STD tar -xvzf radarr.tar.gz
2526
mv Radarr /opt
2627
chmod 775 /opt/Radarr
2728
msg_ok "Installed Radarr"

install/readarr-install.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ msg_ok "Installed Dependencies"
2020
msg_info "Installing Readarr"
2121
mkdir -p /var/lib/readarr/
2222
chmod 775 /var/lib/readarr/
23-
$STD curl -fJL 'https://readarr.servarr.com/v1/update/develop/updatefile?os=linux&runtime=netcore&arch=x64'
24-
$STD tar -xvzf Readarr.develop.*.tar.gz
23+
cd /var/lib/readarr/
24+
$STD curl -fsSL 'https://readarr.servarr.com/v1/update/develop/updatefile?os=linux&runtime=netcore&arch=x64' -o readarr.tar.gz
25+
$STD tar -xvzf readarr.tar.gz
2526
mv Readarr /opt
2627
chmod 775 /opt/Readarr
2728
msg_ok "Installed Readarr"

install/sonarr-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ msg_ok "Installed Dependencies"
2020
msg_info "Installing Sonarr v4"
2121
mkdir -p /var/lib/sonarr/
2222
chmod 775 /var/lib/sonarr/
23-
curl -fsSL "'https://services.sonarr.tv/v1/download/main/latest?version=4&os=linux&arch=x64'" -o "SonarrV4.tar.gz"
23+
curl -fsSL "https://services.sonarr.tv/v1/download/main/latest?version=4&os=linux&arch=x64" -o "SonarrV4.tar.gz"
2424
tar -xzf SonarrV4.tar.gz
2525
mv Sonarr /opt
2626
rm -rf SonarrV4.tar.gz

install/threadfin-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ msg_ok "Installed Dependencies"
2020

2121
msg_info "Installing Threadfin"
2222
mkdir -p /opt/threadfin
23-
curl -fsSL "'https://github.com/Threadfin/Threadfin/releases/latest/download/Threadfin_linux_amd64'" -o "/opt/threadfin/threadfin"
23+
curl -fsSL "https://github.com/Threadfin/Threadfin/releases/latest/download/Threadfin_linux_amd64" -o "/opt/threadfin/threadfin"
2424
chmod +x /opt/threadfin/threadfin
2525

2626
msg_ok "Installed Threadfin"

install/whisparr-install.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ msg_ok "Installed Dependencies"
2020
msg_info "Installing Whisparr"
2121
mkdir -p /var/lib/whisparr/
2222
chmod 775 /var/lib/whisparr/
23-
$STD curl -fJL 'https://whisparr.servarr.com/v1/update/nightly/updatefile?os=linux&runtime=netcore&arch=x64'
24-
$STD tar -xvzf Whisparr.develop.*.tar.gz
23+
cd /var/lib/whisparr/
24+
$STD curl -fsSL 'https://whisparr.servarr.com/v1/update/nightly/updatefile?os=linux&runtime=netcore&arch=x64' -o whisparr.tar.gz
25+
$STD tar -xvzf whisparr.tar.gz
2526
mv Whisparr /opt
2627
chmod 775 /opt/Whisparr
2728
msg_ok "Installed Whisparr"

0 commit comments

Comments
 (0)