Port Sonarr to ARM64

This commit is contained in:
Sam Heinz
2024-04-08 16:45:31 +10:00
parent 1aa106b6e4
commit 1504bde180
3 changed files with 7 additions and 5 deletions
+3 -2
View File
@@ -27,9 +27,10 @@ Any applications not in ported or unsupported need to be tested for whether they
<details> <details>
<summary>Currently ported applications</summary> <summary>Currently ported applications</summary>
<li>ActualBudget - unable to test but does run</li> <li>ActualBudget</li>
<li>Adguard Home</li> <li>Adguard</li>
<li>Radarr</li> <li>Radarr</li>
<li>Sonarr</li>
</details> </details>
<details> <details>
+2 -2
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func)
# Copyright (c) 2021-2024 tteck # Copyright (c) 2021-2024 tteck
# Author: tteck (tteckster) # Author: tteck (tteckster)
# License: MIT # License: MIT
@@ -57,7 +57,7 @@ header_info
if [[ ! -d /opt/Sonarr ]]; then msg_error "No ${APP} Installation Found!"; exit; fi if [[ ! -d /opt/Sonarr ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
msg_info "Updating $APP v4" msg_info "Updating $APP v4"
systemctl stop sonarr.service systemctl stop sonarr.service
wget -q -O SonarrV4.tar.gz 'https://services.sonarr.tv/v1/download/main/latest?version=4&os=linux&arch=x64' wget -q -O SonarrV4.tar.gz 'https://services.sonarr.tv/v1/download/main/latest?version=4&os=linux&arch=arm64'
tar -xzf SonarrV4.tar.gz tar -xzf SonarrV4.tar.gz
rm -rf /opt/Sonarr rm -rf /opt/Sonarr
mv Sonarr /opt mv Sonarr /opt
+2 -1
View File
@@ -18,12 +18,13 @@ $STD apt-get install -y curl
$STD apt-get install -y sudo $STD apt-get install -y sudo
$STD apt-get install -y mc $STD apt-get install -y mc
$STD apt-get install -y sqlite3 $STD apt-get install -y sqlite3
$STD apt-get install -y wget
msg_ok "Installed Dependencies" 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/
wget -q -O SonarrV4.tar.gz 'https://services.sonarr.tv/v1/download/main/latest?version=4&os=linux&arch=x64' wget -q -O SonarrV4.tar.gz 'https://services.sonarr.tv/v1/download/main/latest?version=4&os=linux&arch=arm64'
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